mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
Update main turned a copy back into its main's frame only when the copy root authored no geometry. A nested copy that inherited its parent's turn and then authored a resize still pushed the turn into its main, and sync composed it again: 45 degrees became 90. Sync composes a nested copy root with its parent's turn, so cancel exactly that turn, relative to the main's parent, whatever the root authors. A top-level copy root keeps the existing rule: it owns its turn only when it authors its geometry. The shrunk library program fails I9 before the fix and passes unchanged after it; the earlier inherited-turn regression still passes. Goldens are unchanged. Full suites ran on the tree with the fixture fix, this update-main fix and the grid rollout. Common JVM passes 2061 tests / 33765 assertions; JavaScript passes 1997 / 32400; common lint and formatting pass. All six component properties pass 40 programs each at seed 712 in both runtimes. Full rebuilt frontend passes 1798 / 16138. Backend passes 1838 / 9293; exporter passes 16 / 40; consumer lint and formatting pass. Compare lower-quantile milliseconds with the saved baseline; keep that baseline unchanged. The machine/JVM warning makes ratios rough. No world is flagged. World Baseline Now Ratio Main into 10 copies 1.790 0.866 0.48 Main into 100 copies 15.415 8.393 0.54 Main into 1000 copies 153.086 85.279 0.56 Three nesting levels 35.215 17.172 0.49 Dependency chain 68.931 34.199 0.50 Library update 83.083 42.833 0.52 Many plain shapes 4.837 2.064 0.43 Variant switch 32.052 19.599 0.61 AI-assisted-by: claude-opus-5-5