fix type error

This commit is contained in:
Maze Winther
2026-02-27 18:15:36 +01:00
parent 49426f19cd
commit 956f3d201b
@@ -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);