diff --git a/apps/web/src/components/editor/timeline.tsx b/apps/web/src/components/editor/timeline.tsx index 3823f09..d1bb3aa 100644 --- a/apps/web/src/components/editor/timeline.tsx +++ b/apps/web/src/components/editor/timeline.tsx @@ -20,12 +20,10 @@ import { TooltipTrigger, TooltipProvider, } from "../ui/tooltip"; -import { DragOverlay } from "../ui/drag-overlay"; import { useTimelineStore, type TimelineTrack } from "@/stores/timeline-store"; import { useMediaStore } from "@/stores/media-store"; import { usePlaybackStore } from "@/stores/playback-store"; import { processMediaFiles } from "@/lib/media-processing"; -import { ImageTimelineTreatment } from "@/components/ui/image-timeline-treatment"; import { toast } from "sonner"; import { useState, useRef, useEffect } from "react"; @@ -1301,87 +1299,7 @@ function TimelineTrackContent({ )} > )} - - ); -} - -// Custom context menu for track actions -function TrackContextMenu({ - x, - y, - track, - onClose, - onSplit, - onMute, - onDelete, -}: { - x: number; - y: number; - track: any; - onClose: () => void; - onSplit: () => void; - onMute: () => void; - onDelete: () => void; -}) { - // Small, modern, visually appealing popup - return ( -