mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-20 20:38:34 +00:00
The timeline could only trim one clip's own in/out, so every re-edit of a multi-clip track left a gap or an overlap to close by hand. Four tools now own the standard NLE edit operations, each committing as one atomic, single-undo batch through the existing group-resize persist. - Ripple (T): trim an edge, every later clip on the track follows. - Roll (Shift+T): move the cut between two clips; nothing downstream moves. - Slip (Y): change which part of the source plays; nothing moves. - Slide (Shift+Y): move a clip; its neighbours absorb the move. All four are lane-scoped, clamped by available source media and the minimum clip duration, snap the edge that actually moves, and refuse up front when the tool cannot act on the clip (a roll with no clip across the cut, a slip on generated pixels) with a message that says which. Two adjacent cleanups came with it: the blocked-edit toast now reads the intent it was already being handed instead of ignoring it, and the duplicated remove-element POST behind the two delete paths moved into one helper.