Small fixes

This commit is contained in:
Erik Ziegler 2017-01-16 21:08:40 +01:00 committed by Emanuel F. Oliveira
parent 3e1127fc78
commit 5fcf167726

View File

@ -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,