mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-23 02:44:24 +01:00
A continuous arc that starts a path has no direction to follow and sweeps the arc size, as a sharp-corner arc does. Moving its end onto a protractor tick put the end on a circle the drawn arc does not follow, so `tick_end` now gives no tick for it. The hover keeps the snap settings it was made with (`SnapSettings` in guides/snap.rs: the window, zoom, snapping options, tolerances, Alignment Guides and construction angles). After one of them changes under a still pointer, the hover's rubber band, protractor, distance label and Smart Guides are hidden until the pointer moves, also through a press, so the preview shows no point that a click would not place. A press also drops the hover, so after a click puts an arc's end on a tick no preview runs from that end back to the pointer. While the pointer hovers, the tool asks the canvas to hover it again when the view, the document or the selection changes (`wants_rehover`).