mirror of
https://github.com/storytold/lightcraft.git
synced 2026-11-10 18:39:51 -06:00
A real mouse can deliver the press and the release in the same egui frame: no button is down then, so the hand was not marked used and a quick release of Space ran the tap fallback, zooming straight back. tick() now also counts a press seen this frame. New headless test sends both button events in one frame (the synthetic pointer queue sends one per frame, which is why the existing tests missed it). Reported by AlexChambers in review. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>