fix(segmentation): Restored segment label tool in longitudinal mode. (#5443)

This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2025-09-29 15:56:11 -04:00
1 parent 47164463cc
commit dd86a8eabd
3 files changed
+30 -3

No files matched your search

+2 -1
View File
@@ -160,7 +160,8 @@ function modeFactory({ modeConfiguration }) {
'TagBrowser',
'AdvancedMagnify',
'UltrasoundDirectionalTool',
'WindowLevelRegion',
'WindowLevelRegion',
'SegmentLabelTool',
]);
customizationService.setCustomizations({
+18
View File
@@ -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',