feat(studio): resize selected timeline clips together

Apply handle deltas through a group resize session that snapshots selected members.

Clamp one shared delta against zero start and min duration before preview and commit.

Playback-start changes are calculated per member with the existing trim formula.
This commit is contained in:
Miguel Angel Simon Sierra
2026-07-09 16:54:34 -04:00
parent 5d27af30b2
commit 36413da7f6
12 changed files with 669 additions and 63 deletions
@@ -48,6 +48,7 @@ export interface TimelineEditCallbacks {
options?: TimelineGroupCommitOptions,
) => Promise<void> | void;
onPreviewMoveElements?: (changes: TimelineGroupMoveChange[]) => void;
onPreviewResizeElements?: (changes: TimelineGroupResizeChange[]) => void;
onToggleTrackHidden?: (track: number, hidden: boolean) => Promise<void> | void;
onToggleElementHidden?: (elementKey: string, hidden: boolean) => Promise<void> | void;
onBlockedEditAttempt?: (element: TimelineElement, intent: BlockedTimelineEditIntent) => void;