mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-28 09:21:55 +01:00
With the Selection tool, the first Cmd-click (Ctrl on Windows and Linux) now always goes to Direct Selection or Group Selection, also over a selected object: it picks the object under the pointer, a member of a group included, and arms Select Behind. While Cmd stays held, each further Cmd-click over the selection selects the next object under the pointer, counting the members of groups one by one, and comes back to the topmost after the last. Letting go of Cmd (a pointer, hover or key event without it), choosing another tool or switching documents ends it. Before, the first Cmd-click over a selected object selected the object behind it at once, and Select Behind stepped through whole groups, so a member lying under another member of the same group could not be reached that way. - doc::hit::leaves_at lists the objects a Direct Selection click picks under a point, topmost first, in one traversal of the document; a clipping mask or a group drawn with its own geometry effects falls back to repeated hit tests. The list stops at 256 objects. - The session keeps the arming (Session::behind_armed) and passes it to the tools as ToolContext::behind_armed. - Docs: docs/control-protocol.md (ui.pointer), docs/mcp.md, docs/target-app-parity.md and docs/ui-parity.md.