From 7b6ab8f1520ee91ae3504c4594f96a05fce13e9f Mon Sep 17 00:00:00 2001 From: Hyteq Date: Mon, 23 Jun 2025 14:21:42 +0300 Subject: [PATCH] chore: cleanup --- apps/web/src/components/editor/timeline.tsx | 84 +-------------------- 1 file changed, 1 insertion(+), 83 deletions(-) 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 ( -
e.preventDefault()} - > - {/* Split option */} - - {/* Mute/Unmute option */} - - {/* Delete option */} - -
- ); -} - - - - - - - - - - - - - - - +} \ No newline at end of file