Fixing bidirectional tool handles issues

This commit is contained in:
Bruno Alves de Faria 2018-02-20 07:06:42 -03:00
parent 00a76a6ca5
commit b672d98c69
2 changed files with 2 additions and 5 deletions

View File

@ -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);

View File

@ -255,7 +255,8 @@ const CornerstoneHandleSchema = new SimpleSchema({
active: {
type: Boolean,
label: 'Active',
defaultValue: false
defaultValue: false,
optional: true
},
drawnIndependently: {
type: Boolean,