mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-16 06:19:21 +00:00
Two edge-of-timeline fixes: 1. Drag-to-extend: while a clip is dragged, the rendered timeline keeps a 160px margin past the ghost's end, so holding the pointer in the right edge auto-scroll zone keeps stepping and the timeline extends at auto-scroll pace — you can now place a clip farther than the timeline currently shows. Growth is bounded per frame by AUTO_SCROLL_MAX_SPEED, stops when the pointer leaves the edge zone, and the extra width collapses when the drag ends (the comp only grows on commit). 2. Trim limit = available source media only, not the composition length. Duration is content-driven, so capping a trim at the current comp end both blocked extending the last clip rightward and collapsed a clip to the sliver between its start and the comp end after a far move (the 8s → 0.95s audio incident). Images/text extend freely; audio/video stay capped by remaining source.