Skip to content

fix(studio): overlay jump, delete-all, split polish [9/10]#1191

Open
miguel-heygen wants to merge 5 commits into
feat/keyframes-6-dynamic-keyframesfrom
feat/keyframes-7-fixes-polish
Open

fix(studio): overlay jump, delete-all, split polish [9/10]#1191
miguel-heygen wants to merge 5 commits into
feat/keyframes-6-dynamic-keyframesfrom
feat/keyframes-7-fixes-polish

Conversation

@miguel-heygen
Copy link
Copy Markdown
Collaborator

Summary

  • Fix overlay bounding box jump: gsapAnimatesProperty guard prevents reapplyBoxSizes from overwriting GSAP-interpolated width/height
  • Delete All Keyframes removes entire animation (handleGsapDeleteAnimation with fallback)
  • Wire split through component chain (App → StudioPreviewArea → NLELayout → Timeline)
  • Split restricted to media only (video/audio/img) — hidden for divs/compositions
  • Clip context menu with onContextMenu prop

+175 LOC

…yBoxSizes guard

- Fix overlay bounding box jump: reapplyBoxSizes now skips elements whose
  width/height are animated by GSAP (gsapAnimatesProperty check prevents
  studio CSS from overwriting GSAP interpolated values)
- Delete All Keyframes removes entire animation (handleGsapDeleteAnimation)
  with fallback to first animation when no keyframed anim exists
- Wire split clip through App → StudioPreviewArea → NLELayout → Timeline
  (onSplitElement prop, toolbar button, S hotkey, clip context menu)
- Add onContextMenu to TimelineClip for right-click clip context menu
Sub-compositions (data-composition-src) cannot be meaningfully split —
the clone would load the same source and fight for the same timeline.
Block with a specific toast message and disable in the context menu.
@miguel-heygen miguel-heygen force-pushed the feat/keyframes-7-fixes-polish branch from 790ef3f to 99fc9ee Compare June 4, 2026 16:40
@miguel-heygen miguel-heygen force-pushed the feat/keyframes-6-dynamic-keyframes branch from dcbe8da to 3a8e22f Compare June 4, 2026 16:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant