fix(window-level): move window level region to more tools menu (#4215)

This commit is contained in:
Ibrahim authored and GitHub committed 2024-06-07 16:08:52 -04:00
1 parent 319b31d9a8
commit 33f4c18f26
8 files changed
+24 -33

No files matched your search

-1
View File
@@ -66,7 +66,6 @@ function modeFactory({ modeConfiguration }) {
toolbarService.createButtonSection('primary', [
'WindowLevel',
'WindowLevelRegion',
'Pan',
'Zoom',
'TrackballRotate',
+8 -10
View File
@@ -38,16 +38,6 @@ const toolbarButtons: Button[] = [
evaluate: 'evaluate.cornerstoneTool',
},
},
{
id: 'WindowLevelRegion',
uiType: 'ohif.radioGroup',
props: {
icon: 'icon-tool-window-region',
label: 'Window Level Region',
commands: setToolActiveToolbar,
evaluate: 'evaluate.cornerstoneTool',
},
},
{
id: 'Pan',
uiType: 'ohif.radioGroup',
@@ -261,6 +251,14 @@ const toolbarButtons: Button[] = [
commands: setToolActiveToolbar,
evaluate: ['evaluate.cornerstoneTool', 'evaluate.isUS'],
}),
createButton({
id: 'WindowLevelRegion',
icon: 'icon-tool-window-region',
label: 'Window Level Region',
tooltip: 'Window Level Region',
commands: setToolActiveToolbar,
evaluate: 'evaluate.cornerstoneTool',
}),
],
},
},