mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-08 04:50:18 +00:00
A long touch, a canceled touch or a second finger drops the tool press in progress. The tool used to get a plain mouse-up, which it cannot tell from a release: the options the drag changed (the Polygon tool's sides set with the arrow keys) were stored, and a shape tool pressed and held still opened its size dialog. Session::drop_tool_press undoes the press's interaction, sends the tool Escape as during a drag, and then a release that returns it to rest without storing the tool's options. What the tool asks of the UI along the way is dropped.