Files
vectorcraft/crates
dotCooCoo e00e5c9cd9 Guides: removing and editing artboard guides visits each layer once
Deleting ruler guides and moving or scaling an artboard's guides asked
each layer whether its whole subtree held a matching guide, then asked
every sublayer the same question again on the way down. A layer nested
N deep was scanned N times, so a chain of N layers cost N(N+1)/2 layer
scans.

One read walk now records which children match and which sublayers hold
a match, and the edit visits and copies only those layers. The guides
removed, the count returned, the selection, the order the guides are
changed in and the sharing of untouched layers are the same as before.

The same walk replaces the repeated subtree scans in the other guide
edits in this file:

- tidying the ruler guides of an opened file (guides below art, in
  objects, in opacity-mask art, in symbols and patterns)
- saving the guides as a list
- removing an editing layer while keeping its guides
2026-11-13 14:49:19 -08:00
..
2026-11-12 17:40:13 -08:00