mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 01:22:01 +00:00
The model records an authored geometry with the parent it sits in, so a later resize of that parent moves and sizes it through its constraints, as production does. The geometry a switch carries into the new copy was recorded without it: after a variant main shrank, the switched copy's child, which authors its geometry and stretches left and right, followed its parent in production while the model kept its old width. A carried geometry below the head now records its new parent. Test (the stale gate program of seed 175377838): resizing-a-variant-main-resizes-a-switched-copy-child-through-its-constraint Harness only; the benchmark is not run. AI-assisted-by: claude-opus-5-5