Files
hyperframes/packages
Miguel Angel Simon Sierra dff3634ea8 fix(studio): don't crash resizing an element whose keyframes were removed
commitWholePropertyOffset reduced the tween's keyframe list to find the
"nearest" stop without an initial value. When a to()/from() tween had been
collapsed to a zero-duration immediateRender hold (what removeAllKeyframes
leaves behind), synthesizeFlatTweenKeyframes correctly treats it as a
static hold and returns null, leaving an empty keyframe list — so the
reduce threw "Reduce of empty array with no initial value". Reachable by
resizing such an element with auto-keyframe recording off.

With no keyframe shape to preserve, persist the flat value directly via an
update-properties mutation instead.
2026-07-01 21:55:31 -07:00
..
2026-06-30 14:49:36 -07:00
2026-06-30 14:49:36 -07:00
2026-06-30 14:49:36 -07:00
2026-06-30 14:49:36 -07:00
2026-06-30 14:49:36 -07:00
2026-06-30 14:49:36 -07:00
2026-06-30 14:49:36 -07:00
2026-06-16 13:16:09 -04:00
2026-06-30 14:49:36 -07:00
2026-06-30 14:49:36 -07:00