onInteraction for panes wrapping viewports
This commit is contained in:
1 parent
b396cc8d3f
commit
8573a4de13
1 file changed
+1
@@ -116,6 +116,7 @@ function ViewerViewportGrid(props) {
|
|||||||
className="m-1"
|
className="m-1"
|
||||||
acceptDropsFor="displayset"
|
acceptDropsFor="displayset"
|
||||||
onDrop={onDropHandler}
|
onDrop={onDropHandler}
|
||||||
|
onInteraction={() => { setActiveViewportIndex(viewportIndex); }}
|
||||||
isActive={activeViewportIndex === viewportIndex}
|
isActive={activeViewportIndex === viewportIndex}
|
||||||
>
|
>
|
||||||
<ViewportComponent
|
<ViewportComponent
|
||||||
|
|||||||
Reference in new issue
Block a user