mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
A copy child taken out of its layout's flow stays where the layout put it, which can differ from its main's place when the copy has its own layout values. Making it absolute now marks its geometry as an override too, so sync keeps that place instead of moving it to the main's. Benchmark (scripts/bench-components, ms, lower 2.5% quantile): | world | baseline | now | ratio | |------------------------------------+----------+--------+-------| | deepest-edit-through-three-levels | 35.215 | 18.081 | 0.51 | | edit-through-a-chain-of-dependents | 68.931 | 35.42 | 0.51 | | library-update-into-copies | 83.083 | 45.335 | 0.55 | | main-edit-among-many-shapes | 4.837 | 2.3 | 0.48 | | main-edit-into-10-copies | 1.79 | 0.905 | 0.51 | | main-edit-into-100-copies | 15.415 | 8.714 | 0.57 | | main-edit-into-1000-copies | 153.086 | 88.228 | 0.58 | | variant-switch-into-copies | 32.052 | 20.752 | 0.65 | AI-assisted-by: claude-opus-5-5