refactor: centralize track placement into its own module

This commit is contained in:
Maze Winther
2026-03-31 15:47:30 +02:00
parent 5cc6abc3a4
commit 70a6d58b84
30 changed files with 1355 additions and 709 deletions
@@ -12,7 +12,7 @@ import { EffectLayerNode } from "./nodes/effect-layer-node";
import type { BaseNode } from "./nodes/base-node";
import type { TBackground, TCanvasSize } from "@/lib/project/types";
import { DEFAULT_BLUR_INTENSITY } from "@/constants/project-constants";
import { isMainTrack } from "@/lib/timeline";
import { isMainTrack } from "@/lib/track-placement";
const PREVIEW_MAX_IMAGE_SIZE = 2048;