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

This commit is contained in:
Erik Ziegler 2020-07-24 08:53:10 +02:00 committed by GitHub
parent 15f20b445b
commit 4528ee9175
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -121,7 +121,6 @@ export default function init({ servicesManager, configuration }) {
csTools.EllipticalRoiTool,
csTools.DragProbeTool,
csTools.RectangleRoiTool,
csTools.ProbeTool,
],
other: [
csTools.PanTool,
@ -153,6 +152,9 @@ export default function init({ servicesManager, configuration }) {
callInputDialog(data, eventDetails, callback),
},
},
DragProbe: {
defaultStrategy: 'minimal'
}
};
/* Abstract tools configuration using extension configuration. */

View File

@ -227,7 +227,7 @@ export default [
icon: 'old-dot-circle',
label: 'Probe',
commandName: 'setToolActive',
commandOptions: { toolName: 'Probe' },
commandOptions: { toolName: 'DragProbe' },
type: 'primary',
},
},