mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 17:50:38 +00:00
When pasting, read each child to advance from the objects being built, not from the page, so a later change to the parent cannot make it read a stale shape. Fix the docs of ignore-children-fn in get-children-ids and delete-shapes: it receives a shape id, not a shape. Add a unit test for ctf/get-swap-level, a paste test where the swap sits at the last level the copied head drops, and a detach test where the swapped copy sits under two non-swapped nested copies. AI-assisted-by: claude-opus-5-5