mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-22 02:15:24 +01:00
Selecting the Quick Pen tool shows a toolbar on the canvas. Straight Line, Continuous Arc and Sharp Corner Arc set the tool's action, Flip Arc flips the last sharp-corner arc as C does, and More Options has Hide Toolbar, Pin Toolbar Position and Reset Toolbar Position. The handle at its left end drags it. While a path is being drawn, the toolbar sits beside the path's last point, 24 screen points off it on the side the path heads toward, or on the other side where that side runs off the canvas. With no path being drawn, it sits at the bottom center of the canvas. A drag's offset applies in the kind of place it was made in (beside the drawing or resting), and not where it would cover the path's last point. Pinned, it stays at its place in the canvas window. It hides while a press drags on the canvas, and its controls wrap in a canvas pane narrower than the toolbar. Hide Toolbar hides it until the tool is selected again; Window › Quick Pen Toolbar also shows or hides it. - Tool::drawing_end and Session::tool_drawing_end give the point the path goes on from and the direction it arrives in. - New desktop commands: window.quickPenToolbar, window.quickPenToolbar.pin, window.quickPenToolbar.reset and tool.quickPen.flipArc; ui.inspect reports quickPenToolbar. - Labels in every catalog. Docs: docs/mcp.md, docs/control-protocol.md, ROADMAP, docs/ui-parity.md, docs/target-app-parity.md. Part of #2660.