mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 06:19:21 +00:00
Composition length was grow-only (extendCompositionDurationIfNeeded ratcheted data-duration up on drop/stretch but nothing shrank it), so deleting the last/longest clip left trailing empty space. Add setCompositionDurationToContent (grow OR shrink) and sync data-duration to the furthest remaining clip end on delete. Empty timeline keeps its declared length (no collapse to 0). Trim/move shrink are follow-ups.