diff options
| author | Maze Winther <mazewinther@gmail.com> | 2026-02-01 11:06:20 +0100 |
|---|---|---|
| committer | Maze Winther <mazewinther@gmail.com> | 2026-02-01 11:06:20 +0100 |
| commit | 58f23e8f2a1ee44ebfd088e5c8b60486f40b8351 (patch) | |
| tree | d591269e2c425ee8d15de9de7ec282a28021d5d8 /apps/web/src/hooks/timeline/use-edge-auto-scroll.ts | |
| parent | 33f4a54768dd6df521536b769b295e5ba6077b39 (diff) | |
| download | opencut-58f23e8f2a1ee44ebfd088e5c8b60486f40b8351.tar.gz | |
testing
Diffstat (limited to 'apps/web/src/hooks/timeline/use-edge-auto-scroll.ts')
| -rw-r--r-- | apps/web/src/hooks/timeline/use-edge-auto-scroll.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/hooks/timeline/use-edge-auto-scroll.ts b/apps/web/src/hooks/timeline/use-edge-auto-scroll.ts index 0ddab654..095c0599 100644 --- a/apps/web/src/hooks/timeline/use-edge-auto-scroll.ts +++ b/apps/web/src/hooks/timeline/use-edge-auto-scroll.ts @@ -3,8 +3,8 @@ import { useEffect, useRef } from "react"; interface UseEdgeAutoScrollParams { isActive: boolean; getMouseClientX: () => number; - rulerScrollRef: React.RefObject<HTMLDivElement>; - tracksScrollRef: React.RefObject<HTMLDivElement>; + rulerScrollRef: React.RefObject<HTMLDivElement | null>; + tracksScrollRef: React.RefObject<HTMLDivElement | null>; contentWidth: number; edgeThreshold?: number; maxScrollSpeed?: number; |
