From 0274fb662647630803598e01c975e6b1439922ab Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Wed, 13 Aug 2025 17:05:17 +0200 Subject: cleanup --- apps/web/src/components/editor/timeline/index.tsx | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'apps/web/src/components/editor/timeline/index.tsx') diff --git a/apps/web/src/components/editor/timeline/index.tsx b/apps/web/src/components/editor/timeline/index.tsx index 669d556c..d8261d9b 100644 --- a/apps/web/src/components/editor/timeline/index.tsx +++ b/apps/web/src/components/editor/timeline/index.tsx @@ -1,6 +1,5 @@ "use client"; -import React from "react"; import { ScrollArea } from "@/components/ui/scroll-area"; import { Button } from "../../ui/button"; import { @@ -609,7 +608,11 @@ export function Timeline() { onMouseEnter={() => setIsInTimeline(true)} onMouseLeave={() => setIsInTimeline(false)} > - + {/* Timeline Container */}
{ if (selectedElements.length === 0) return; let splitCount = 0; @@ -1075,7 +1077,6 @@ function TimelineToolbar({ clearSelectedElements(); }; - // Zoom handlers const handleZoomIn = () => { setZoomLevel(Math.min(4, zoomLevel + 0.25)); }; @@ -1092,13 +1093,11 @@ function TimelineToolbar({ await toggleBookmark(currentTime); }; - // Check if the current time is bookmarked const currentBookmarked = isBookmarked(currentTime); return (
- {/* Play/Pause Button */} - - Return to Start (Home / Enter) - + Return to Start (Home / Enter)
- {/* Time Display */}
{currentTime.toFixed(1)}s / {duration.toFixed(1)}s
- {/* Test Clip Button - for debugging */} {tracks.length === 0 && ( <>
-- cgit v1.3.1