summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/commands/timeline
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-02-27 18:15:36 +0100
committerMaze Winther <mazewinther@gmail.com>2026-02-27 18:15:36 +0100
commit956f3d201b5715650bc967719cb15b7821787e25 (patch)
treed7c12a013046ff282a1d7555050453117d3642fc /apps/web/src/lib/commands/timeline
parent49426f19cd8eaed7cf6c47999b66fee7ee637a56 (diff)
downloadopencut-956f3d201b5715650bc967719cb15b7821787e25.tar.gz
fix type error
Diffstat (limited to 'apps/web/src/lib/commands/timeline')
-rw-r--r--apps/web/src/lib/commands/timeline/element/update-element.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/lib/commands/timeline/element/update-element.ts b/apps/web/src/lib/commands/timeline/element/update-element.ts
index e6b0706f..643f8e4b 100644
--- a/apps/web/src/lib/commands/timeline/element/update-element.ts
+++ b/apps/web/src/lib/commands/timeline/element/update-element.ts
@@ -32,7 +32,7 @@ export class UpdateElementCommand extends Command {
tracks: this.savedState,
trackId: this.trackId,
elementId: this.elementId,
- update: (element) => ({ ...element, ...this.updates }),
+ update: (element) => ({ ...element, ...this.updates }) as TimelineElement,
});
editor.timeline.updateTracks(updatedTracks);