mirror of
https://github.com/penpot/penpot.git
synced 2026-11-21 17:50:38 +00:00
Pushing a grid copy's column direction to its main left the main's children in their row order, and pushing a copy's grid cells left the main's children where they were before, outside the cells they took. A sync reflows the layouts of the copies it changes, but `update-component` reflowed none, so the main never laid out again. It now emits a layout update for the frames its changes touch in the current file, the main's among them when its component is local, in the undo group of the update. Test: frontend generated `generated-an-update-main-of-a-grid-direction-orders-the-main-by-it`. The frontend golden master of `case-ak-update-main-pushes-grid-cells` is recorded again: its main and copy children now sit at their cells, where they were left stacked outside their boards. ClojureScript only; the benchmark covers JVM code and is not run. AI-assisted-by: claude-opus-5-5