chore(scalebars) Switch to Scale Overlay tool from Cornerstone Tools
This commit is contained in:
1 parent
664b78f42c
commit
99c65bb017
2 files changed
+5
-6
No files matched your search
@@ -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']
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user