From 8db3bead13441a5882d8689dfc6a9f09c82375d9 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Wed, 25 Mar 2026 16:47:22 +0100 Subject: feat: masks, properties refactor, shaders, storage migrations, and more --- .../src/components/editor/panels/timeline/snap-indicator.tsx | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'apps/web/src/components/editor/panels/timeline/snap-indicator.tsx') diff --git a/apps/web/src/components/editor/panels/timeline/snap-indicator.tsx b/apps/web/src/components/editor/panels/timeline/snap-indicator.tsx index 927d336a..acb57203 100644 --- a/apps/web/src/components/editor/panels/timeline/snap-indicator.tsx +++ b/apps/web/src/components/editor/panels/timeline/snap-indicator.tsx @@ -6,15 +6,12 @@ import { getCenteredLineLeft, TIMELINE_INDICATOR_LINE_WIDTH_PX, } from "@/lib/timeline"; -import type { TimelineTrack } from "@/types/timeline"; - +import { TIMELINE_LAYERS } from "@/constants/timeline-constants"; interface SnapIndicatorProps { snapPoint: SnapPoint | null; zoomLevel: number; isVisible: boolean; - tracks: TimelineTrack[]; timelineRef: React.RefObject; - trackLabelsRef?: React.RefObject; tracksScrollRef: React.RefObject; } @@ -22,17 +19,13 @@ export function SnapIndicator({ snapPoint, zoomLevel, isVisible, - tracks, timelineRef, - trackLabelsRef, tracksScrollRef, }: SnapIndicatorProps) { const { leftPosition, topPosition, height } = useSnapIndicatorPosition({ snapPoint, zoomLevel, - tracks, timelineRef, - trackLabelsRef, tracksScrollRef, }); @@ -48,6 +41,7 @@ export function SnapIndicator({ top: topPosition, height: `${height}px`, width: `${TIMELINE_INDICATOR_LINE_WIDTH_PX}px`, + zIndex: TIMELINE_LAYERS.snapIndicator, }} >
-- cgit v1.3.1