feat: centralize selection management

This commit is contained in:
Maze Winther
2026-03-31 22:53:16 +02:00
parent 0f5dca4f12
commit f8fb238b22
11 changed files with 164 additions and 94 deletions
@@ -265,7 +265,7 @@ export class TimelineManager {
time: number;
clipboardItems: ClipboardItem[];
}): { trackId: string; elementId: string }[] {
const command = new PasteCommand(time, clipboardItems);
const command = new PasteCommand({ time, clipboardItems });
this.editor.command.execute({ command });
return command.getPastedElements();
}