mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-30 02:07:10 +01:00
Part of #1232. With Direct Selection and some corners picked, the widgets of the other corners used to hide, so a Shift-click could remove a picked corner but not add another one. Now every eligible widget shows: a picked corner's widget has a dot at its center and the others are hollow. - A click on a widget that is not picked picks its corner alone. A click on a picked widget keeps the picks, so Shift-clicking several corners and then double-clicking one of them opens Corners for all of them. A Shift-click adds or removes a corner on any selected path and keeps the other picks; on a path selected whole beside a path with picked corners it removes that corner (select.anchorsMany, mode toggle). While every corner of every path is picked, a click or Shift-click still picks that corner alone, as #6106 made it. - A drag or Alt-click on a widget that is not picked edits its corner together with the picked ones, as one undo step, and does not pick it. A drag on a picked widget edits the picked corners alone. - Over a widget that is not picked, the end of a selected anchor's direction handle, or an anchor at least as near to the pointer as the widget's center, takes the press, the cursor and the double-click. Hollow widgets are drawn below the anchors and handles. - A Shift-click on a rounded corner picked by one of its two anchors removes the corner instead of swapping that anchor for the other. - The Selection tool and the shape tools still show and edit the picked corners' widgets alone, drawn as before. The angle, side length and Hide Corner Widget rules are unchanged. Docs: docs/mcp.md, docs/control-protocol.md, docs/target-app-parity.md, docs/ui-parity.md.