onInteraction for panes wrapping viewports
This commit is contained in:
parent
b396cc8d3f
commit
8573a4de13
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user