Fixing issues with bidirectional tool

This commit is contained in:
Bruno Alves de Faria committed 2017-12-28 08:59:25 -02:00
1 parent 0acdff0bc5
commit 475580b2f9
10 files changed
+147 -1443

No files matched your search

@@ -1,3 +1,5 @@
/* jshint -W083 */
import { cornerstone, cornerstoneTools } from 'meteor/ohif:cornerstone';
import { toolType, distanceThreshold } from './definitions';
import mouseMoveCallback from './mouseMoveCallback';
@@ -98,7 +100,7 @@ export default function(event, eventData) {
unselectAllHandles(data.handles);
handle.moving = true;
moveHandle(eventData, toolType, data, handle, handleDoneMove);
moveHandle(eventData, toolType, data, handle, () => handleDoneMove(handle));
event.stopImmediatePropagation();
return false;
}