mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
A turned board that fills its flex parent skews, and so does a grid board it holds. In the layout pass a layout board handed its modifiers only to its absolute children, so the layout moved the others without the board's turn or skew: they stayed rigid, while the WASM layout and a component sync skew them. The layout pass now hands a layout board's modifiers to all its children, which keep their size along its axes, and the layout places them from the transformed bounds. Benchmark (scripts/bench-components, lower quantile in ms): | world | baseline | now | ratio | |------------------------------------+----------+---------+-------| | deepest-edit-through-three-levels | 35.215 | 20.425 | 0.58 | | edit-through-a-chain-of-dependents | 68.931 | 41.077 | 0.60 | | library-update-into-copies | 83.083 | 47.075 | 0.57 | | main-edit-among-many-shapes | 4.837 | 2.276 | 0.47 | | main-edit-into-10-copies | 1.79 | 0.998 | 0.56 | | main-edit-into-100-copies | 15.415 | 11.243 | 0.73 | | main-edit-into-1000-copies | 153.086 | 109.801 | 0.72 | | variant-switch-into-copies | 32.052 | 20.218 | 0.63 | AI-assisted-by: claude-opus-5-5