summaryrefslogtreecommitdiff
path: root/apps/web/src/hooks/timeline/use-selection-box.ts
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-02-01 11:06:20 +0100
committerMaze Winther <mazewinther@gmail.com>2026-02-01 11:06:20 +0100
commit58f23e8f2a1ee44ebfd088e5c8b60486f40b8351 (patch)
treed591269e2c425ee8d15de9de7ec282a28021d5d8 /apps/web/src/hooks/timeline/use-selection-box.ts
parent33f4a54768dd6df521536b769b295e5ba6077b39 (diff)
downloadopencut-58f23e8f2a1ee44ebfd088e5c8b60486f40b8351.tar.gz
testing
Diffstat (limited to 'apps/web/src/hooks/timeline/use-selection-box.ts')
-rw-r--r--apps/web/src/hooks/timeline/use-selection-box.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/hooks/timeline/use-selection-box.ts b/apps/web/src/hooks/timeline/use-selection-box.ts
index 702abad9..12c6bf8a 100644
--- a/apps/web/src/hooks/timeline/use-selection-box.ts
+++ b/apps/web/src/hooks/timeline/use-selection-box.ts
@@ -4,12 +4,12 @@ import { getCumulativeHeightBefore, getTrackHeight } from "@/lib/timeline";
import { useEditor } from "../use-editor";
interface UseSelectionBoxProps {
- containerRef: React.RefObject<HTMLElement>;
+ containerRef: React.RefObject<HTMLElement | null>;
onSelectionComplete: (
elements: { trackId: string; elementId: string }[],
) => void;
isEnabled?: boolean;
- tracksScrollRef: React.RefObject<HTMLDivElement>;
+ tracksScrollRef: React.RefObject<HTMLDivElement | null>;
zoomLevel: number;
}