From bfcf20e108a0f47d00faee1b1b9268edf2db5660 Mon Sep 17 00:00:00 2001 From: Maze Winther Date: Sun, 1 Feb 2026 11:16:18 +0100 Subject: [PATCH] testing 3 --- apps/web/src/components/editor/selection-box.tsx | 2 +- .../components/editor/timeline/timeline-playhead.tsx | 10 +++++----- .../src/components/editor/timeline/timeline-track.tsx | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apps/web/src/components/editor/selection-box.tsx b/apps/web/src/components/editor/selection-box.tsx index 32adbfd8..0b757e36 100644 --- a/apps/web/src/components/editor/selection-box.tsx +++ b/apps/web/src/components/editor/selection-box.tsx @@ -5,7 +5,7 @@ import { useMemo } from "react"; interface SelectionBoxProps { startPos: { x: number; y: number } | null; currentPos: { x: number; y: number } | null; - containerRef: React.RefObject; + containerRef: React.RefObject; isActive: boolean; } diff --git a/apps/web/src/components/editor/timeline/timeline-playhead.tsx b/apps/web/src/components/editor/timeline/timeline-playhead.tsx index 58d0adb0..8af35dc9 100644 --- a/apps/web/src/components/editor/timeline/timeline-playhead.tsx +++ b/apps/web/src/components/editor/timeline/timeline-playhead.tsx @@ -7,11 +7,11 @@ import { useEditor } from "@/hooks/use-editor"; interface TimelinePlayheadProps { zoomLevel: number; - rulerRef: React.RefObject; - rulerScrollRef: React.RefObject; - tracksScrollRef: React.RefObject; - timelineRef: React.RefObject; - playheadRef?: React.RefObject; + rulerRef: React.RefObject; + rulerScrollRef: React.RefObject; + tracksScrollRef: React.RefObject; + timelineRef: React.RefObject; + playheadRef?: React.RefObject; isSnappingToPlayhead?: boolean; } diff --git a/apps/web/src/components/editor/timeline/timeline-track.tsx b/apps/web/src/components/editor/timeline/timeline-track.tsx index 29d58315..573bd4b5 100644 --- a/apps/web/src/components/editor/timeline/timeline-track.tsx +++ b/apps/web/src/components/editor/timeline/timeline-track.tsx @@ -15,8 +15,8 @@ interface TimelineTrackContentProps { track: TimelineTrack; zoomLevel: number; dragState: ElementDragState; - rulerScrollRef: React.RefObject; - tracksScrollRef: React.RefObject; + rulerScrollRef: React.RefObject; + tracksScrollRef: React.RefObject; lastMouseXRef: React.RefObject; onSnapPointChange?: (snapPoint: SnapPoint | null) => void; onResizeStateChange?: (params: { isResizing: boolean }) => void;