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"
|
||||
acceptDropsFor="displayset"
|
||||
onDrop={onDropHandler}
|
||||
onInteraction={() => { setActiveViewportIndex(viewportIndex); }}
|
||||
isActive={activeViewportIndex === viewportIndex}
|
||||
>
|
||||
<ViewportComponent
|
||||
|
||||
Reference in new issue
Block a user