From 154b78c7d1d41fdbff566e486627e52c841a7848 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Tue, 31 Mar 2026 18:47:45 +0200 Subject: fix: allow timeline paste and duplicate commands to reassign updated tracks --- apps/web/src/lib/commands/timeline/clipboard/paste.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/web/src/lib/commands/timeline/clipboard/paste.ts') diff --git a/apps/web/src/lib/commands/timeline/clipboard/paste.ts b/apps/web/src/lib/commands/timeline/clipboard/paste.ts index e1b43364..cd465ae7 100644 --- a/apps/web/src/lib/commands/timeline/clipboard/paste.ts +++ b/apps/web/src/lib/commands/timeline/clipboard/paste.ts @@ -38,7 +38,7 @@ export class PasteCommand extends Command { ...this.clipboardItems.map((item) => item.element.startTime), ); - const updatedTracks = [...this.savedState]; + let updatedTracks = [...this.savedState]; const itemsByTrackId = groupClipboardItemsByTrackId({ clipboardItems: this.clipboardItems, }); -- cgit v1.3.1