Files
hyperframes/packages
Miguel Angel Simon Sierra 477f77629b fix(studio): resize from the element's real box, not a 200px guess
Resizing an element whose size is driven by a scale animation committed a
scale computed against a hardcoded 200px fallback, because the only
original size the draft recorded was the element's INLINE width, and a
composition sizes its elements from the stylesheet.

A 630px chip dropped at 1260px wide committed a scale of 6.3 instead of 2,
so it landed at over three times the size it was dropped at. The next drag
compounded it, because that wrong scale then counted as the element's live
one.

The draft now records the box it measured, once, before it writes a width
of its own, and the intercept reads that. The inline attributes keep their
own job of restoring an inline style, which is why they cannot answer this
question.
2026-08-06 15:53:36 -07:00
..
2026-08-06 10:12:20 -07:00
2026-08-06 10:12:20 -07:00
2026-08-06 10:12:20 -07:00
2026-08-06 10:12:20 -07:00
2026-08-06 10:12:20 -07:00
2026-08-06 10:12:20 -07:00
2026-08-06 10:12:20 -07:00