diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-27 18:15:36 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-27 18:15:36 +0100 |
| commit | 956f3d201b5715650bc967719cb15b7821787e25 (patch) | |
| tree | d7c12a013046ff282a1d7555050453117d3642fc | |
| parent | 49426f19cd8eaed7cf6c47999b66fee7ee637a56 (diff) | |
| download | opencut-956f3d201b5715650bc967719cb15b7821787e25.tar.gz | |
fix type error
| -rw-r--r-- | apps/web/src/lib/commands/timeline/element/update-element.ts | 2 |
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); |
