LT-350: Temporarily disabling Delete keyboard tool
This commit is contained in:
parent
8044898432
commit
248451d5d0
@ -17,7 +17,7 @@ OHIF.lesiontracker.toggleLesionTrackerTools = () => {
|
|||||||
|
|
||||||
// Hide the tools (set them all to disabled)
|
// Hide the tools (set them all to disabled)
|
||||||
const toolDefaultStates = {
|
const toolDefaultStates = {
|
||||||
activate: [ 'deleteLesionKeyboardTool' ],
|
activate: [], //'deleteLesionKeyboardTool'
|
||||||
deactivate: [],
|
deactivate: [],
|
||||||
enable: [],
|
enable: [],
|
||||||
disable: [ 'bidirectional', 'nonTarget', 'length', 'crTool', 'unTool', 'exTool' ]
|
disable: [ 'bidirectional', 'nonTarget', 'length', 'crTool', 'unTool', 'exTool' ]
|
||||||
|
|||||||
@ -38,7 +38,7 @@ Meteor.startup(function() {
|
|||||||
let currentDefaultStates = toolManager.getToolDefaultStates();
|
let currentDefaultStates = toolManager.getToolDefaultStates();
|
||||||
let newDefaultStates = {
|
let newDefaultStates = {
|
||||||
deactivate: ['bidirectional', 'nonTarget', 'length', 'crTool', 'unTool', 'exTool'],
|
deactivate: ['bidirectional', 'nonTarget', 'length', 'crTool', 'unTool', 'exTool'],
|
||||||
activate: ['deleteLesionKeyboardTool']
|
activate: [] // 'deleteLesionKeyboardTool'
|
||||||
};
|
};
|
||||||
|
|
||||||
for (let state in newDefaultStates) {
|
for (let state in newDefaultStates) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user