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:54:06 +0200
committerMaze Winther <mazewinther@gmail.com>2026-03-31 22:54:06 +0200
commitcc150c7cfb859dfc38372210ec5bcc8bd196bbc4 (patch)
tree6cc57c2c54b6fd941b97c663b919f934b1445dde /apps/web/src/core/managers/timeline-manager.ts
parent0488a6be455c225535414fd651c838c355a9d3bd (diff)
parentf8fb238b228881ef970739b7d884912058b41347 (diff)
downloadopencut-cc150c7cfb859dfc38372210ec5bcc8bd196bbc4.tar.gz
Merge branch 'refactor-selection-commands'
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();
}