From fca99d6126c31fbb18ed9f1034cee6f940b040e8 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Tue, 10 Feb 2026 16:28:21 +0100 Subject: refactor --- .../components/editor/timeline/timeline-tick.tsx | 39 ---------------------- 1 file changed, 39 deletions(-) delete mode 100644 apps/web/src/components/editor/timeline/timeline-tick.tsx (limited to 'apps/web/src/components/editor/timeline/timeline-tick.tsx') diff --git a/apps/web/src/components/editor/timeline/timeline-tick.tsx b/apps/web/src/components/editor/timeline/timeline-tick.tsx deleted file mode 100644 index 9402d25e..00000000 --- a/apps/web/src/components/editor/timeline/timeline-tick.tsx +++ /dev/null @@ -1,39 +0,0 @@ -"use client"; - -import { TIMELINE_CONSTANTS } from "@/constants/timeline-constants"; -import { formatRulerLabel } from "@/lib/timeline/ruler-utils"; - -interface TimelineTickProps { - time: number; - zoomLevel: number; - fps: number; - showLabel: boolean; -} - -export function TimelineTick({ - time, - zoomLevel, - fps, - showLabel, -}: TimelineTickProps) { - const leftPosition = time * TIMELINE_CONSTANTS.PIXELS_PER_SECOND * zoomLevel; - - if (showLabel) { - const label = formatRulerLabel({ timeInSeconds: time, fps }); - return ( - - {label} - - ); - } - - return ( -
- ); -} -- cgit v1.3.1