OHIF-324: Switch Probe to DragProbe and apply minimal strategy (#1918)

This commit is contained in:
Erik Ziegler authored and GitHub committed 2020-07-24 08:53:10 +02:00
1 parent 15f20b445b
commit 4528ee9175
2 files changed
+4 -2

No files matched your search

+3 -1
View File
@@ -121,7 +121,6 @@ export default function init({ servicesManager, configuration }) {
csTools.EllipticalRoiTool, csTools.EllipticalRoiTool,
csTools.DragProbeTool, csTools.DragProbeTool,
csTools.RectangleRoiTool, csTools.RectangleRoiTool,
csTools.ProbeTool,
], ],
other: [ other: [
csTools.PanTool, csTools.PanTool,
@@ -153,6 +152,9 @@ export default function init({ servicesManager, configuration }) {
callInputDialog(data, eventDetails, callback), callInputDialog(data, eventDetails, callback),
}, },
}, },
DragProbe: {
defaultStrategy: 'minimal'
}
}; };
/* Abstract tools configuration using extension configuration. */ /* Abstract tools configuration using extension configuration. */
+1 -1
View File
@@ -227,7 +227,7 @@ export default [
icon: 'old-dot-circle', icon: 'old-dot-circle',
label: 'Probe', label: 'Probe',
commandName: 'setToolActive', commandName: 'setToolActive',
commandOptions: { toolName: 'Probe' }, commandOptions: { toolName: 'DragProbe' },
type: 'primary', type: 'primary',
}, },
}, },