onInteraction for panes wrapping viewports

This commit is contained in:
dannyrb 2020-05-25 20:55:51 -04:00
parent b396cc8d3f
commit 8573a4de13

View File

@ -116,6 +116,7 @@ function ViewerViewportGrid(props) {
className="m-1"
acceptDropsFor="displayset"
onDrop={onDropHandler}
onInteraction={() => { setActiveViewportIndex(viewportIndex); }}
isActive={activeViewportIndex === viewportIndex}
>
<ViewportComponent