summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/web/src/lib/commands/timeline/clipboard/paste.ts2
-rw-r--r--apps/web/src/lib/commands/timeline/element/duplicate-elements.ts2
2 files changed, 2 insertions, 2 deletions
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,
});
diff --git a/apps/web/src/lib/commands/timeline/element/duplicate-elements.ts b/apps/web/src/lib/commands/timeline/element/duplicate-elements.ts
index a4f7ca82..90e178d0 100644
--- a/apps/web/src/lib/commands/timeline/element/duplicate-elements.ts
+++ b/apps/web/src/lib/commands/timeline/element/duplicate-elements.ts
@@ -26,7 +26,7 @@ export class DuplicateElementsCommand extends Command {
this.previousSelection = editor.selection.getSelectedElements();
this.duplicatedElements = [];
- const updatedTracks = [...this.savedState];
+ let updatedTracks = [...this.savedState];
for (const track of this.savedState) {
const elementsToDuplicate = this.elements.filter(