Files
hyperframes/packages
Miguel Ángel 315e94c7ad feat(studio): gsap-aware drag persistence with auto-keyframing
When dragging GSAP-animated elements in the preview, position changes now
write to the GSAP script instead of CSS inline styles that GSAP overwrites
on the next seek:

- Flat tweens: updates x/y properties directly via update-property mutation
- Keyframed tweens: adds/updates a keyframe at the current playhead
  percentage with the new x/y values (auto-keyframing)
- Studio offset is cleared after the GSAP commit since GSAP handles
  position after the soft-reload

The intercept point is handleDomPathOffsetCommit, which checks for GSAP
animations with position properties before falling through to the standard
CSS path. GSAP position helpers live in gsapDragCommit.ts as pure functions
to keep useDomEditCommits.ts under the 600-line limit.
2026-06-02 19:16:46 -04:00
..
2026-06-01 20:14:01 -04:00
2026-06-01 20:14:01 -04:00
2026-06-01 20:14:01 -04:00
2026-06-01 20:14:01 -04:00