Fixing broken references in LesionTracker related to measurement deletions and lesion table row selection + Fixing bug in measurement handlers for unassociated studies.

This commit is contained in:
Emanuel F. Oliveira committed 2017-01-29 22:11:17 -02:00
1 parent 3def03e7d0
commit a06da4e6e1
6 files changed
+17 -102

No files matched your search

@@ -1,3 +1,5 @@
import { Viewerbase } from 'meteor/ohif:viewerbase';
(function(cornerstoneTools) {
'use strict';
@@ -21,9 +23,9 @@
// TODO = Check if we have the same function already in Cornerstone Tools
function getNearbyToolData(element, coords, toolTypes) {
var allTools = toolManager.getTools();
var allTools = Viewerbase.toolManager.getTools();
var pointNearTool = false;
var touchDevice = isTouchDevice();
var touchDevice = Viewerbase.helpers.isTouchDevice();
var nearbyTool = {},
nearbyToolIndex,
nearbyToolType;