summaryrefslogtreecommitdiff
path: root/apps/web/src/commands/scene/move-bookmark.ts
diff options
context:
space:
mode:
Diffstat (limited to 'apps/web/src/commands/scene/move-bookmark.ts')
-rw-r--r--apps/web/src/commands/scene/move-bookmark.ts5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/web/src/commands/scene/move-bookmark.ts b/apps/web/src/commands/scene/move-bookmark.ts
index a1624eb0..f3628b28 100644
--- a/apps/web/src/commands/scene/move-bookmark.ts
+++ b/apps/web/src/commands/scene/move-bookmark.ts
@@ -3,13 +3,14 @@ import { EditorCore } from "@/core";
import type { TScene } from "@/timeline";
import { updateSceneInArray } from "@/timeline/scenes";
import { getFrameTime, moveBookmarkInArray } from "@/timeline/bookmarks/index";
+import type { MediaTime } from "@/wasm";
export class MoveBookmarkCommand extends Command {
private savedScenes: TScene[] | null = null;
constructor(
- private fromTime: number,
- private toTime: number,
+ private fromTime: MediaTime,
+ private toTime: MediaTime,
) {
super();
}