mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-03 06:31:42 +01:00
snap_ui::begin chose the snap gesture from app.ui.tool, the selected tool, not the tool the press acts as. A ⌘-drag with a painting tool (temporary Move) or with a selection tool outside the selection (moves the layer) got no moving box and no smart-guide/guide/grid snapping. The ⌘ resolution in canvas::tool_event moves into canvas::event_tool, which begin now uses together with canvas::command_moves_layer. Co-authored-by: Claude Opus 5.5 <[email protected]> Co-authored-by: Brandon Thomas <[email protected]>