summaryrefslogtreecommitdiff
path: root/apps/web/src/components/editor/selection-box.tsx
diff options
context:
space:
mode:
authorMaze Winther <mazewinther@gmail.com>2026-02-01 11:16:18 +0100
committerMaze Winther <mazewinther@gmail.com>2026-02-01 11:16:18 +0100
commitbfcf20e108a0f47d00faee1b1b9268edf2db5660 (patch)
treedc5c5d55647968b27e4fd09002519373596c2d6a /apps/web/src/components/editor/selection-box.tsx
parent4f64ff50cd561689dd24a1586fdccb2d48384f40 (diff)
downloadopencut-bfcf20e108a0f47d00faee1b1b9268edf2db5660.tar.gz
testing 3
Diffstat (limited to 'apps/web/src/components/editor/selection-box.tsx')
-rw-r--r--apps/web/src/components/editor/selection-box.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/web/src/components/editor/selection-box.tsx b/apps/web/src/components/editor/selection-box.tsx
index 32adbfd8..0b757e36 100644
--- a/apps/web/src/components/editor/selection-box.tsx
+++ b/apps/web/src/components/editor/selection-box.tsx
@@ -5,7 +5,7 @@ import { useMemo } from "react";
interface SelectionBoxProps {
startPos: { x: number; y: number } | null;
currentPos: { x: number; y: number } | null;
- containerRef: React.RefObject<HTMLElement>;
+ containerRef: React.RefObject<HTMLElement | null>;
isActive: boolean;
}