Drag and drop w/ dragSource + dragTarget w/o errors
This commit is contained in:
1 parent
1333c2b89d
commit
591da12536
5 files changed
+33
-32
No files matched your search
@@ -76,7 +76,7 @@ function ViewerViewportGrid(props) {
|
||||
console.warn('DROPPED ITEM:', droppedItem);
|
||||
}}
|
||||
isActive={activeViewportIndex === viewportIndex}
|
||||
></ViewportPane>
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -101,6 +101,7 @@ function ViewerViewportGrid(props) {
|
||||
<ViewportPane
|
||||
key={viewportIndex}
|
||||
className="m-1"
|
||||
acceptDropsFor="displayset"
|
||||
onDrop={() => {
|
||||
/* setDisplaySet for Viewport */
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user