Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit df15a54

Browse files
authored
fix: LSDV-4740: Video Rectangles are displaying while drawing (#1258)
1 parent 6a21688 commit df15a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tags/object/Video/VideoRegions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ const VideoRegionsPure = ({
156156
};
157157

158158
const handleMouseMove = e => {
159-
if (!isDrawing || item.annotation?.isReadOnly) return false;
159+
if (!isDrawing || item.annotation?.isReadOnly()) return false;
160160

161161
const { x, y } = limitCoordinates(normalizeMouseOffsets(e.evt.offsetX, e.evt.offsetY));
162162

0 commit comments

Comments
 (0)