A sync that resizes a copy shape carries its subtree through the
constraints of its children. It placed that subtree from the objects as
they were before the sync, so it wrote back the attributes the sync had
just given the children. A reset of a resized copy root left its child's
overridden layout item margin type in place, while clearing its touched
flag.
The subtree is placed from the objects as the sync left them, under the
parent as it was before the sync.
Benchmark (scripts/bench-components, ms, lower 2.5% quantile):
| world | baseline | now | ratio |
|------------------------------------+----------+---------+-------|
| deepest-edit-through-three-levels | 35.215 | 18.845 | 0.54 |
| edit-through-a-chain-of-dependents | 68.931 | 37.053 | 0.54 |
| library-update-into-copies | 83.083 | 46.11 | 0.55 |
| main-edit-among-many-shapes | 4.837 | 2.087 | 0.43 |
| main-edit-into-10-copies | 1.79 | 0.921 | 0.51 |
| main-edit-into-100-copies | 15.415 | 8.99 | 0.58 |
| main-edit-into-1000-copies | 153.086 | 91.573 | 0.60 |
| variant-switch-into-copies | 32.052 | 18.962 | 0.59 |
AI-assisted-by: claude-opus-5-5