mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-25 20:01:07 +01:00
When a command run during a tool drag deletes, hides or locks an object that the drag's preview names in its ids, the preview applied again leaves that object out, so the drag still edits the others. A preview left naming no object records no step. When the command changes the selection, the journal also records the drag's own selection after the command (select.set, with its anchors, segments, guides and key, or its slices, target, symbol part or Objects on Path member), so replaying the journal moves the objects the drag moved. A targeted object keeps its guides and key, and a path with every anchor selected keeps them selected as anchors. The current layer and the highlighted Layers panel rows are left as the drag left them.