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-edge-auto-scroll.ts | |
| parent | 1d55b903d767656ea067ce028289ca6c99389706 (diff) | |
| download | opencut-33f4a54768dd6df521536b769b295e5ba6077b39.tar.gz | |
please
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 095c0599..0ddab654 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 | null>; - tracksScrollRef: React.RefObject<HTMLDivElement | null>; + rulerScrollRef: React.RefObject<HTMLDivElement>; + tracksScrollRef: React.RefObject<HTMLDivElement>; contentWidth: number; edgeThreshold?: number; maxScrollSpeed?: number; |
