fix(window-level): move window level region to more tools menu (#4215)
This commit is contained in:
1 parent
319b31d9a8
commit
33f4c18f26
8 files changed
+24
-33
No files matched your search
@@ -83,7 +83,6 @@ function modeFactory() {
|
||||
'MeasurementTools',
|
||||
'Zoom',
|
||||
'WindowLevel',
|
||||
'WindowLevelRegion',
|
||||
'Pan',
|
||||
'Capture',
|
||||
'Layout',
|
||||
|
||||
@@ -190,6 +190,14 @@ const moreTools = [
|
||||
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',
|
||||
}),
|
||||
],
|
||||
},
|
||||
},
|
||||
|
||||
@@ -167,16 +167,6 @@ const toolbarButtons: Button[] = [
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'WindowLevelRegion',
|
||||
uiType: 'ohif.radioGroup',
|
||||
props: {
|
||||
icon: 'icon-tool-window-region',
|
||||
label: 'Window Level Region',
|
||||
commands: setToolActiveToolbar,
|
||||
evaluate: 'evaluate.cornerstoneTool',
|
||||
},
|
||||
},
|
||||
// Pan...
|
||||
{
|
||||
id: 'Pan',
|
||||
|
||||
Reference in new issue
Block a user