summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor/timeline/timeline-playhead.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-02-01 11:16:18 +0100
committerMaze Winther <mazewinther@gmail.com>2026-02-01 11:16:18 +0100
commitbfcf20e108a0f47d00faee1b1b9268edf2db5660 (patch)
treedc5c5d55647968b27e4fd09002519373596c2d6a /apps/web/src/components/editor/timeline/timeline-playhead.tsx
parent4f64ff50cd561689dd24a1586fdccb2d48384f40 (diff)
downloadopencut-bfcf20e108a0f47d00faee1b1b9268edf2db5660.tar.gz
testing 3
Diffstat (limited to 'apps/web/src/components/editor/timeline/timeline-playhead.tsx')
-rw-r--r--apps/web/src/components/editor/timeline/timeline-playhead.tsx10
1 files changed, 5 insertions, 5 deletions
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<HTMLDivElement>;
- rulerScrollRef: React.RefObject<HTMLDivElement>;
- tracksScrollRef: React.RefObject<HTMLDivElement>;
- timelineRef: React.RefObject<HTMLDivElement>;
- playheadRef?: React.RefObject<HTMLDivElement>;
+ rulerRef: React.RefObject<HTMLDivElement | null>;
+ rulerScrollRef: React.RefObject<HTMLDivElement | null>;
+ tracksScrollRef: React.RefObject<HTMLDivElement | null>;
+ timelineRef: React.RefObject<HTMLDivElement | null>;
+ playheadRef?: React.RefObject<HTMLDivElement | null>;
isSnappingToPlayhead?: boolean;
}