Integrate Cornerstone Tools v3 (#235) - WIP

fix(mouse-buttons): Support for assigning tools to mouse buttons (left, right, middle)
fix(tool-naming): Fix tool naming issues
This commit is contained in:
Evren Ozkan committed 2018-11-09 13:24:48 -05:00
1 parent 6fedea1653
commit 4cf68adec7
9 files changed
+170 -121

No files matched your search

@@ -50,10 +50,10 @@ Template.textMarkerDialogs.events({
cornerstone.updateImage(element);
},
'click .closeTextMarkerDialogs'() {
const defaultTool = toolManager.getDefaultTool();
toolManager.setActiveTool(defaultTool);
toolManager.setActiveTool();
document.getElementById('textMarkerOptionsDialog').close();
$('#spine').removeClass('active');
const defaultTool = toolManager.getDefaultTool();
$('#' + defaultTool).addClass('active');
}