fix(segmentation): Restored segment label tool in longitudinal mode. (#5443)
This commit is contained in:
1 parent
47164463cc
commit
dd86a8eabd
3 files changed
+30
-3
No files matched your search
@@ -160,7 +160,8 @@ function modeFactory({ modeConfiguration }) {
|
||||
'TagBrowser',
|
||||
'AdvancedMagnify',
|
||||
'UltrasoundDirectionalTool',
|
||||
'WindowLevelRegion',
|
||||
'WindowLevelRegion',
|
||||
'SegmentLabelTool',
|
||||
]);
|
||||
|
||||
customizationService.setCustomizations({
|
||||
|
||||
@@ -667,6 +667,24 @@ const toolbarButtons: Button[] = [
|
||||
buttonSection: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'SegmentLabelTool',
|
||||
uiType: 'ohif.toolBoxButton',
|
||||
props: {
|
||||
icon: 'tool-segment-label',
|
||||
label: i18n.t('Buttons:Segment Label Display'),
|
||||
tooltip: i18n.t(
|
||||
'Buttons:Click to show or hide segment labels when hovering with your mouse.'
|
||||
),
|
||||
commands: { commandName: 'toggleSegmentLabel' },
|
||||
evaluate: [
|
||||
'evaluate.cornerstoneTool.toggle',
|
||||
{
|
||||
name: 'evaluate.cornerstone.hasSegmentation',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
// {
|
||||
// id: 'Undo',
|
||||
// uiType: 'ohif.toolButton',
|
||||
|
||||
Reference in new issue
Block a user