alonso.torres 4266de0f7c 🐛 Size a grid's fill child in the frame a turn leaves it in
A fill child of a grid takes the size of its content, resized along its
own axes. Those axes were read from the stored shape, while the same
modifiers may be turning it: turning a grid copy whose child fills its
width resized the child along its unturned axes and skewed it, and a
full sync then placed it unskewed.

The content size, and the check for a child turned in its grid, use the
frame the modifiers being calculated leave the shape in.

Benchmark (scripts/bench-components, ms, lower 2.5% quantile):

| world                              | baseline |     now | ratio |
|------------------------------------+----------+---------+-------|
| deepest-edit-through-three-levels  |   35.215 |  21.852 |  0.62 |
| edit-through-a-chain-of-dependents |   68.931 |  39.822 |  0.58 |
| library-update-into-copies         |   83.083 |  47.443 |  0.57 |
| main-edit-among-many-shapes        |    4.837 |   2.162 |  0.45 |
| main-edit-into-10-copies           |     1.79 |   1.028 |  0.57 |
| main-edit-into-100-copies          |   15.415 |  10.453 |  0.68 |
| main-edit-into-1000-copies         |  153.086 | 103.422 |  0.68 |
| variant-switch-into-copies         |   32.052 |  20.087 |  0.63 |

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:46 +01:00
..
2026-11-10 20:21:16 +01:00
2026-09-29 09:07:34 +02:00
2026-03-11 15:24:40 +01:00