OHIF-324: Switch Probe to DragProbe and apply minimal strategy (#1918)
This commit is contained in:
parent
15f20b445b
commit
4528ee9175
@ -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. */
|
||||||
|
|||||||
@ -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',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user