mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-19 17:58:10 +00:00
Shapes: a Circle tool release near the press is a click, also after a drag
A press dragged away and let go within 2 screen points of where it was pressed was still taken as a drag. A second press dragged out and back drew the circle through three nearly collinear points, or nothing, and a press on the first point drew a circle about 1 pt across. The release distance now decides: such a release keeps the press's point, so a second press draws the circle on the diameter to it, a press on the first point places nothing, and a first press places the first point. The preview and the guides of the drag go with it.
This commit is contained in:
@@ -6706,6 +6706,7 @@ the release, the tool shows the circle as a dashed outline (solid once it is mor
|
||||
with its points, a small cross at its center, a line from
|
||||
the center to each point and, with Measurement Labels on, the diameter by the pointer. Three different points on one
|
||||
line, or a circle past the canvas, show "Circle too large" by the pointer instead, and the release draws nothing.
|
||||
A press let go within 2 screen points of where it was pressed is a click, also after a drag that came back to it.
|
||||
Escape, a dropped press, and an edit, Undo or Redo made outside the tool drop the first point. A second press within 3
|
||||
screen points of the first point, or one that snaps to it, is a press on it: let go there (a double-click), it places no second point, and
|
||||
dragged out, it draws the circle on the diameter it drags out.
|
||||
|
||||
Reference in New Issue
Block a user