summaryrefslogtreecommitdiff
path: root/apps/web/src/hooks/timeline/use-timeline-zoom.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-02-01 10:59:05 +0100
committerMaze Winther <mazewinther@gmail.com>2026-02-01 10:59:05 +0100
commit33f4a54768dd6df521536b769b295e5ba6077b39 (patch)
tree84fd472cbd2720f342bee5dfeb9c7070fff05d18 /apps/web/src/hooks/timeline/use-timeline-zoom.ts
parent1d55b903d767656ea067ce028289ca6c99389706 (diff)
downloadopencut-33f4a54768dd6df521536b769b295e5ba6077b39.tar.gz
please
Diffstat (limited to 'apps/web/src/hooks/timeline/use-timeline-zoom.ts')
-rw-r--r--apps/web/src/hooks/timeline/use-timeline-zoom.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/web/src/hooks/timeline/use-timeline-zoom.ts b/apps/web/src/hooks/timeline/use-timeline-zoom.ts
index 3d15b5c8..96a4be43 100644
--- a/apps/web/src/hooks/timeline/use-timeline-zoom.ts
+++ b/apps/web/src/hooks/timeline/use-timeline-zoom.ts
@@ -11,13 +11,13 @@ import { TIMELINE_CONSTANTS } from "@/constants/timeline-constants";
import { useEditor } from "@/hooks/use-editor";
interface UseTimelineZoomProps {
- containerRef: RefObject<HTMLDivElement | null>;
+ containerRef: RefObject<HTMLDivElement>;
minZoom?: number;
initialZoom?: number;
initialScrollLeft?: number;
initialPlayheadTime?: number;
- tracksScrollRef: RefObject<HTMLDivElement | null>;
- rulerScrollRef: RefObject<HTMLDivElement | null>;
+ tracksScrollRef: RefObject<HTMLDivElement>;
+ rulerScrollRef: RefObject<HTMLDivElement>;
}
interface UseTimelineZoomReturn {