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

Commit 958cb30

Browse files
authored
fix: LSDV-4811: Impossible to select and drag a hidden region (#1270)
1 parent 5bf915e commit 958cb30

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
@@ -260,7 +260,7 @@ const RegionsLayer = observer(({
260260
workingArea={workinAreaCoordinates}
261261
draggable={!reg.isReadOnly() && !isDrawing && !locked}
262262
selected={reg.selected || reg.inSelection}
263-
listening={!reg.locked}
263+
listening={!reg.locked && !reg.hidden}
264264
stageRef={stageRef}
265265
onDragMove={onDragMove}
266266
/>

0 commit comments

Comments
 (0)