diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-01 10:59:05 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-01 10:59:05 +0100 |
| commit | 33f4a54768dd6df521536b769b295e5ba6077b39 (patch) | |
| tree | 84fd472cbd2720f342bee5dfeb9c7070fff05d18 /apps/web/src/hooks/timeline/use-selection-box.ts | |
| parent | 1d55b903d767656ea067ce028289ca6c99389706 (diff) | |
| download | opencut-33f4a54768dd6df521536b769b295e5ba6077b39.tar.gz | |
please
Diffstat (limited to 'apps/web/src/hooks/timeline/use-selection-box.ts')
| -rw-r--r-- | apps/web/src/hooks/timeline/use-selection-box.ts | 4 |
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 12c6bf8a..702abad9 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 | null>; + containerRef: React.RefObject<HTMLElement>; onSelectionComplete: ( elements: { trackId: string; elementId: string }[], ) => void; isEnabled?: boolean; - tracksScrollRef: React.RefObject<HTMLDivElement | null>; + tracksScrollRef: React.RefObject<HTMLDivElement>; zoomLevel: number; } |
