mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
A bool keeps its corners in one order whatever its flips. Sync places the shapes of a copy shape that authors its geometry like it only when its geometry differs from its main's, so a flipped bool in a copy looked like its main, and sync gave its shapes their main's unflipped geometry. A group or bool also differs from its main when it mirrors differently, read from its transform. Test: syncing-the-shapes-of-a-flipped-copy-bool-keeps-them-flipped. Benchmark (alone, shared with the next commit): | :world | :baseline | :now | :mean | :ratio | |------------------------------------+-----------+--------+---------+--------| | deepest-edit-through-three-levels | 35.215 | 20.498 | 21.134 | 0.58 | | edit-through-a-chain-of-dependents | 68.931 | 40.257 | 42.557 | 0.58 | | library-update-into-copies | 83.083 | 51.433 | 52.577 | 0.62 | | main-edit-among-many-shapes | 4.837 | 2.145 | 2.365 | 0.44 | | main-edit-into-10-copies | 1.79 | 1.012 | 1.093 | 0.57 | | main-edit-into-100-copies | 15.415 | 10.535 | 10.754 | 0.68 | | main-edit-into-1000-copies | 153.086 | 99.04 | 105.491 | 0.65 | | variant-switch-into-copies | 32.052 | 22.662 | 23.464 | 0.71 | AI-assisted-by: claude-opus-5-5