Fixing bidirectional tool handles issues
This commit is contained in:
parent
00a76a6ca5
commit
b672d98c69
@ -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);
|
||||
|
||||
@ -255,7 +255,8 @@ const CornerstoneHandleSchema = new SimpleSchema({
|
||||
active: {
|
||||
type: Boolean,
|
||||
label: 'Active',
|
||||
defaultValue: false
|
||||
defaultValue: false,
|
||||
optional: true
|
||||
},
|
||||
drawnIndependently: {
|
||||
type: Boolean,
|
||||
|
||||
Loading…
Reference in New Issue
Block a user