chore(scalebars) Switch to Scale Overlay tool from Cornerstone Tools

This commit is contained in:
Erik Ziegler committed 2018-07-12 14:20:10 +02:00
1 parent 664b78f42c
commit 99c65bb017
2 files changed
+5 -6

No files matched your search

+1 -6
View File
@@ -14,11 +14,6 @@ Meteor.startup(function() {
touch: cornerstoneTools.nonTargetTouch
});
toolManager.addTool('scaleOverlayTool', {
mouse: cornerstoneTools.scaleOverlayTool,
touch: cornerstoneTools.scaleOverlayTool
});
toolManager.addTool('deleteLesionKeyboardTool', {
mouse: cornerstoneTools.deleteLesionKeyboardTool,
touch: cornerstoneTools.deleteLesionKeyboardTool
@@ -37,7 +32,7 @@ Meteor.startup(function() {
// Update default state for tools making sure each tool is only inserted once
let currentDefaultStates = toolManager.getToolDefaultStates();
let newDefaultStates = {
enable: [ 'scaleOverlayTool' ],
enable: [],
deactivate: ['bidirectional', 'nonTarget', 'length', 'targetCR', 'targetUN'],
activate: ['deleteLesionKeyboardTool']
};