alonso.torres 9664a1ecc6 🐛 Give a reset head back its grid cell when it leaves absolute
A reset clears a copy head's own layout item values after its sync, so a
head made absolute in the copy came back into its parent grid's flow
after the cells had been assigned, and its cell stayed empty until a full
sync. The reset now assigns its grid parent's cells again at its end.

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

| world                              | baseline |    now | ratio |
|------------------------------------+----------+--------+-------|
| deepest-edit-through-three-levels  |   35.215 |   18.5 |  0.53 |
| edit-through-a-chain-of-dependents |   68.931 |  36.37 |  0.53 |
| library-update-into-copies         |   83.083 | 44.588 |  0.54 |
| main-edit-among-many-shapes        |    4.837 |   2.03 |  0.42 |
| main-edit-into-10-copies           |     1.79 |  0.953 |  0.53 |
| main-edit-into-100-copies          |   15.415 |    9.2 |   0.6 |
| main-edit-into-1000-copies         |  153.086 | 91.647 |   0.6 |
| variant-switch-into-copies         |   32.052 | 20.181 |  0.63 |

AI-assisted-by: claude-opus-5-5
2026-11-18 10:29:45 +01:00
..