mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-04 13:02:50 -05:00
With Direct Selection chosen, Cmd/Ctrl lends the Selection tool for the press. That loan also took presses on the end of a shown direction handle, so a Ctrl-drag on a handle moved the whole object (and anything selected with it), or drew a marquee where no object was under the handle. Only Ctrl added after the drag began mirrored the opposite handle. A new Tool::keeps_cmd_press lets the active tool keep a Cmd/Ctrl press. Direct Selection keeps one without Alt on the end of a shown handle of a path, of type on a path, or of a selected blend spine anchor, so the drag mirrors the opposite handle, with Shift constraining it. The session's lent_tool_at asks it, so the press, the cursor and the status bar agree. A press elsewhere, on a handle of the bounding box the lent Selection tool shows, or with Cmd+Alt (Group Selection) is still lent as before. docs/gaps.md and docs/ui-parity.md describe the press.