feat: improve segment label (#5217)

Co-authored-by: Joe Boccanfuso <joe.boccanfuso@radicalimaging.com>
This commit is contained in:
Pedro KöhlerandJoe Boccanfuso authored and GitHub committed 2025-07-29 22:30:18 -04:00
1 parent dd896fea25
commit 271b84f78f
22 files changed
+163 -44

No files matched your search

+16
View File
@@ -739,6 +739,22 @@ const toolbarButtons: Button[] = [
],
},
},
{
id: 'SegmentLabelTool',
uiType: 'ohif.toolBoxButton',
props: {
icon: 'tool-segment-label',
label: 'Segment Label Display',
tooltip: 'Click to show or hide segment labels when hovering with your mouse.',
commands: { commandName: 'toggleSegmentLabel' },
evaluate: [
'evaluate.cornerstoneTool.toggle',
{
name: 'evaluate.cornerstone.hasSegmentation',
},
],
},
},
];
export default toolbarButtons;