mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
A copy child with a geometry override keeps its place inside its parent. When sync turned or flipped the parent, the child followed, but when sync only moved it, for instance a nested copy that its main's layout shifted to make room for a new child, the child stayed where it was and came loose from its parent. A parent that sync moves without resizing now carries its whole subtree as well. Benchmark (scripts/bench-components, ms, lower 2.5% quantile): | world | baseline | now | ratio | |------------------------------------+----------+--------+-------| | deepest-edit-through-three-levels | 35.215 | 18.821 | 0.53 | | edit-through-a-chain-of-dependents | 68.931 | 37.929 | 0.55 | | library-update-into-copies | 83.083 | 48.193 | 0.58 | | main-edit-among-many-shapes | 4.837 | 2.06 | 0.43 | | main-edit-into-10-copies | 1.79 | 0.959 | 0.54 | | main-edit-into-100-copies | 15.415 | 9.24 | 0.6 | | main-edit-into-1000-copies | 153.086 | 92.816 | 0.61 | | variant-switch-into-copies | 32.052 | 19.519 | 0.61 | AI-assisted-by: claude-opus-5-5