mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-01 02:35:37 +01:00
Two new tool options, both off by default. With Ask For Circle Radius (`askRadius`) on, a click on the second segment that finds a circle, with or without Shift, opens a Tangent Circle dialog at that circle's radius instead of drawing; a drag, which sets the radius itself, still draws at once. Each radius typed previews the circle of that radius nearest the click. A radius with no circle there shows the tool's note and leaves OK off; a radius outside 0.01 to 1000000 pt, other than the one the dialog opened with, is an error. OK draws the circle in one undo step, and Cancel draws nothing and keeps the first segment picked. With Auto-Update Default (`autoUpdateDefault`) on, OK also makes the radius given the tool's Shift radius. Both options persist with the tool's radius, show in the tool's options dialog and reject values that are not true or false. Part of #7178.