Small fixes
This commit is contained in:
parent
3e1127fc78
commit
5fcf167726
@ -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,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user