A child of a turned parent first scales with the parent's resize, and
its constraints then scale it back. The scale back divided by the
child's scaled width with a 0.01 minimum, so a child that the resize
scaled below 0.01 came back too narrow: a 70px text with a left
constraint in a board turned 45 degrees and narrowed to 0.01 kept
40.83px. An axis-aligned parent skips this path, so the layout of an
unturned copy kept 70px while the sync of that copy, which resizes its
turned main, gave 40.83px.
The scale back now divides by the child's real edge lengths, and only a
collapsed child takes no scale.
Benchmark (scripts/bench-components, ms, lower 2.5% quantile):
| :world | :baseline | :now | :mean | :ratio |
|------------------------------------+-----------+--------+---------+--------|
| deepest-edit-through-three-levels | 35.215 | 21.281 | 21.79 | 0.6 |
| edit-through-a-chain-of-dependents | 68.931 | 41.715 | 42.166 | 0.61 |
| library-update-into-copies | 83.083 | 50.352 | 52.632 | 0.61 |
| main-edit-among-many-shapes | 4.837 | 2.29 | 2.413 | 0.47 |
| main-edit-into-10-copies | 1.79 | 0.932 | 0.983 | 0.52 |
| main-edit-into-100-copies | 15.415 | 8.968 | 9.361 | 0.58 |
| main-edit-into-1000-copies | 153.086 | 99.524 | 107.384 | 0.65 |
| variant-switch-into-copies | 32.052 | 21.503 | 21.923 | 0.67 |
AI-assisted-by: claude-opus-5-5