mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-28 19:57:05 -06:00
egui counts a press a few pixels outside the canvas as hovering it (its interaction radius), but the canvas only takes pointer positions inside its rect, so such a press fell back to the canvas's centre: a click just below the document tabs or beside the panels selected, typed or drew in the middle of the view. Presses, and middle-button pans, now start only on the canvas itself. Fixes #232. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>