mirror of
https://github.com/OpenCut-app/OpenCut.git
synced 2026-07-13 21:52:53 +02:00
fix type error
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user