mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-10-24 17:56:50 -06:00
Reported: closing a shape by pressing on the first anchor and dragging out a curve flickered, and releasing at the wrong moment left the shape open. The press decided to close (path.close preview), but every move asked again which path was being drawn: the closing preview leaves the path closed, so no longer one the Pen extends, and the move fell through to "first anchor of a new path" (a path.create preview), the next move back to a close of a path that no longer existed in the preview... The release committed whichever was last. - The press now records what it placed (Place: the anchor, the path it goes on, none for a new path, and whether it closes it), and the drag only shapes that anchor's handles: a close stays a close, symmetric by default and Alt breaking the handles, and the release closes the path wherever it ends. The first anchor of a new path no longer depends on the selection either. - Tests: tools (the drag sees the closed path), engine (closed throughout a 12-move drag, symmetric handles at the release), MCP headless pointer_gesture. ROADMAP. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>