mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
Ungrouping a board in a grid main ungroups its copies alike. A copy with its own cells placed the shapes the ungroup brought in by its own flow, which adds tracks along its direction: a copy flowing in columns grew a row its main did not have, so tracks it never overrode stopped following its main's. A copy with its own cells now first takes the tracks the ungroup left in the grid it refers to, on the axes it does not override, then gives its free cells to the new shapes in its main's layer order. Benchmark (bench-components, run alone): | world | baseline | now | mean | ratio | |------------------------------------+----------+---------+---------+-------| | deepest-edit-through-three-levels | 35.215 | 22.032 | 22.764 | 0.63 | | edit-through-a-chain-of-dependents | 68.931 | 43.547 | 51.026 | 0.63 | | library-update-into-copies | 83.083 | 52.297 | 57.441 | 0.63 | | main-edit-among-many-shapes | 4.837 | 2.474 | 4.362 | 0.51 | | main-edit-into-10-copies | 1.79 | 1.091 | 1.162 | 0.61 | | main-edit-into-100-copies | 15.415 | 11.465 | 12.265 | 0.74 | | main-edit-into-1000-copies | 153.086 | 111.337 | 115.898 | 0.73 | | variant-switch-into-copies | 32.052 | 22.186 | 27.148 | 0.69 | AI-assisted-by: claude-opus-5-5