From 5fcf1677262776be6c0ac055081162a221dc565a Mon Sep 17 00:00:00 2001 From: Erik Ziegler Date: Mon, 16 Jan 2017 21:08:40 +0100 Subject: [PATCH] Small fixes --- Packages/ohif-viewerbase/client/lib/toolManager.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Packages/ohif-viewerbase/client/lib/toolManager.js b/Packages/ohif-viewerbase/client/lib/toolManager.js index 4c01f7834..b9d19587c 100644 --- a/Packages/ohif-viewerbase/client/lib/toolManager.js +++ b/Packages/ohif-viewerbase/client/lib/toolManager.js @@ -27,7 +27,7 @@ let gestures = { let toolDefaultStates = { activate: [], - deactivate: ['length', 'angle', 'annotate', 'ellipticalRoi', 'rectangleRoi', 'textMarker'], + deactivate: ['length', 'angle', 'annotate', 'ellipticalRoi', 'rectangleRoi', 'spine'], enable: [], disable: [], disabledToolButtons: [], @@ -168,13 +168,15 @@ export const toolManager = { }); // Set the configuration values for the text annotation (Arrow) tool - const annotateConfig = { + + // @TODO: Fix this, needs to import them from somewhere + /*const annotateConfig = { getTextCallback: getAnnotationTextCallback, changeTextCallback: changeAnnotationTextCallback, drawHandles: false, arrowFirst: true }; - arrowAnnotate.setConfiguration(annotateConfig); + arrowAnnotate.setConfiguration(annotateConfig);*/ const zoomConfig = { minScale: 0.05,