mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-11 18:54:55 +00:00
path.insertAnchor (the Add Anchor Point tool, the Pen's Auto Add, the Smart Pen's Alt-click on a segment and Alt-click with the Scissors) added the anchor without changing the selection, so the direct-selected anchors and selected segments after it on the subpath kept their old numbers and the selection shifted onto the next points along. It now renumbers them with renumber_after_insert, the helper path.reshape uses. A selected segment that the new anchor splits stays selected as its two halves, and the new anchor is direct-selected with them. Undo restores the path and the selection in one step. Docs: params text, docs/mcp.md, docs/target-app-parity.md.