mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
A copy's child authored a swap, and a later swap in the main gave the child's near main the same component. Update-main clones the copy's swapped parent into the main, and the clone of the child keeps its swap against the same near main, as an authored swap stays when its near main converges. The model dropped the swap from every pushed main shape whose component equals its ref's; it now keeps it on a main shape that refers to the same shape as the copy shape. Harness only; the benchmark is not run. Also in this commit: - Turn an authored child by the sign of its own mirror decomposition. A mirrored shape can store its turn either way: rotation 45 with the flip after the turn, or 315 with the turn after the flip, for one transform. When a flipped copy turned, the model turned a child's authored rotation with the sign of the decomposition the shape stores, while the model may hold the other one, and expected 270 where production gives 0. AI-assisted-by: claude-opus-5-5