Fixing bidirectional tool handles issues
This commit is contained in:
1 parent
00a76a6ca5
commit
b672d98c69
2 files changed
+2
-5
No files matched your search
-4
@@ -29,10 +29,6 @@ export default function (event) {
|
||||
const eventData = event.detail;
|
||||
const { element } = eventData;
|
||||
cornerstoneTools.toolCoordinates.setCoords(eventData);
|
||||
// if a mouse button is down, do nothing
|
||||
if (eventData.which !== 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
// if we have no tool data for this element, do nothing
|
||||
const toolData = cornerstoneTools.getToolState(element, toolType);
|
||||
|
||||
Reference in new issue
Block a user