From 70a6d58b8432e455ab1443d45bc23dd70b363bea Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Tue, 31 Mar 2026 15:47:30 +0200 Subject: refactor: centralize track placement into its own module --- apps/web/src/constants/timeline-constants.ts | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'apps/web/src/constants') diff --git a/apps/web/src/constants/timeline-constants.ts b/apps/web/src/constants/timeline-constants.ts index 957775fd..99fa2d2d 100644 --- a/apps/web/src/constants/timeline-constants.ts +++ b/apps/web/src/constants/timeline-constants.ts @@ -1,4 +1,4 @@ -import type { ElementType, TrackType } from "@/lib/timeline"; +import type { TrackType } from "@/lib/timeline"; export const TRACK_CONFIG: Record< TrackType, @@ -46,16 +46,6 @@ export const ELEMENT_TYPE_CONFIG: Record< effect: { background: "bg-[#5d93ba]" }, } as const; -export const ELEMENT_TRACK_MAP: Record = { - audio: "audio", - text: "text", - sticker: "graphic", - graphic: "graphic", - effect: "effect", - video: "video", - image: "video", -}; - export const TRACK_GAP = 6; export const TRACK_LABELS_WIDTH_PX = 112; -- cgit v1.3.1