summaryrefslogtreecommitdiff
path: root/apps/web/src/lib/commands/timeline/track
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-03-31 15:53:23 +0200
committerMaze Winther <mazewinther@gmail.com>2026-03-31 15:53:23 +0200
commitd23be079cce6108482fc3e85401cccf949087174 (patch)
tree7d5acd324f9274b3b823bc67154349b8693e3412 /apps/web/src/lib/commands/timeline/track
parentdcf54c1250431f5a4a2848f7c07781ef5eebacaf (diff)
parent70a6d58b8432e455ab1443d45bc23dd70b363bea (diff)
downloadopencut-d23be079cce6108482fc3e85401cccf949087174.tar.gz
Merge branch 'feature/track-placement'
Diffstat (limited to 'apps/web/src/lib/commands/timeline/track')
-rw-r--r--apps/web/src/lib/commands/timeline/track/add-track.ts2
-rw-r--r--apps/web/src/lib/commands/timeline/track/remove-track.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/lib/commands/timeline/track/add-track.ts b/apps/web/src/lib/commands/timeline/track/add-track.ts
index b1f0daa0..104c0462 100644
--- a/apps/web/src/lib/commands/timeline/track/add-track.ts
+++ b/apps/web/src/lib/commands/timeline/track/add-track.ts
@@ -5,7 +5,7 @@ import { EditorCore } from "@/core";
import {
buildEmptyTrack,
getDefaultInsertIndexForTrack,
-} from "@/lib/timeline/track-utils";
+} from "@/lib/timeline/placement";
export class AddTrackCommand extends Command {
private trackId: string;
diff --git a/apps/web/src/lib/commands/timeline/track/remove-track.ts b/apps/web/src/lib/commands/timeline/track/remove-track.ts
index a9859a1a..f35edbe4 100644
--- a/apps/web/src/lib/commands/timeline/track/remove-track.ts
+++ b/apps/web/src/lib/commands/timeline/track/remove-track.ts
@@ -1,7 +1,7 @@
import { Command } from "@/lib/commands/base-command";
import { EditorCore } from "@/core";
import type { TimelineTrack } from "@/lib/timeline";
-import { getMainTrack } from "@/lib/timeline";
+import { getMainTrack } from "@/lib/timeline/placement";
export class RemoveTrackCommand extends Command {
private savedState: TimelineTrack[] | null = null;