summaryrefslogtreecommitdiff
path: root/apps/web/src/core/managers/timeline-manager.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-03-31 22:53:16 +0200
committerMaze Winther <mazewinther@gmail.com>2026-03-31 22:53:16 +0200
commitf8fb238b228881ef970739b7d884912058b41347 (patch)
treee784085f29377242c5d1441ec46b397ada5170ef /apps/web/src/core/managers/timeline-manager.ts
parent0f5dca4f12d926ec0015116e85ec1129a6891f40 (diff)
downloadopencut-f8fb238b228881ef970739b7d884912058b41347.tar.gz
feat: centralize selection management
Diffstat (limited to 'apps/web/src/core/managers/timeline-manager.ts')
-rw-r--r--apps/web/src/core/managers/timeline-manager.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/core/managers/timeline-manager.ts b/apps/web/src/core/managers/timeline-manager.ts
index 263de41f..7189761c 100644
--- a/apps/web/src/core/managers/timeline-manager.ts
+++ b/apps/web/src/core/managers/timeline-manager.ts
@@ -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();
}