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 = {
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,