Small fixes

This commit is contained in:
Erik Ziegler authored and Emanuel F. Oliveira committed 2017-01-29 22:11:17 -02:00
1 parent 3e1127fc78
commit 5fcf167726
1 file changed
+5 -3
@@ -27,7 +27,7 @@ let gestures = {
let toolDefaultStates = { let toolDefaultStates = {
activate: [], activate: [],
deactivate: ['length', 'angle', 'annotate', 'ellipticalRoi', 'rectangleRoi', 'textMarker'], deactivate: ['length', 'angle', 'annotate', 'ellipticalRoi', 'rectangleRoi', 'spine'],
enable: [], enable: [],
disable: [], disable: [],
disabledToolButtons: [], disabledToolButtons: [],
@@ -168,13 +168,15 @@ export const toolManager = {
}); });
// Set the configuration values for the text annotation (Arrow) tool // 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, getTextCallback: getAnnotationTextCallback,
changeTextCallback: changeAnnotationTextCallback, changeTextCallback: changeAnnotationTextCallback,
drawHandles: false, drawHandles: false,
arrowFirst: true arrowFirst: true
}; };
arrowAnnotate.setConfiguration(annotateConfig); arrowAnnotate.setConfiguration(annotateConfig);*/
const zoomConfig = { const zoomConfig = {
minScale: 0.05, minScale: 0.05,