Files
Mark Tolmacs ce5e0c3a49 fix(editor): don't duplicate deleted elements
Groups, frames and containers are collected from all elements, so
duplicating them also copied their deleted members. A copy of a deleted
element is born deleted and can never be restored; it only took up space
and got selected, which tripped the getSelectedElements invariant.

Also set the elements and the selection in one update in the z-index
tests, so no render pairs the new elements with the previous selection.
2026-12-04 09:44:56 +00:00
..