fix: backward compatibility with toolbar service (#5052)
This commit is contained in:
1 parent
c6b28654b5
commit
9b1b501d83
27 files changed
+198
-144
No files matched your search
@@ -96,7 +96,7 @@ function modeFactory({ modeConfiguration }) {
|
||||
|
||||
toolbarService.register(toolbarButtons);
|
||||
toolbarService.updateSection('primary', [
|
||||
'measurementSection',
|
||||
'MeasurementTools',
|
||||
'Zoom',
|
||||
'WindowLevel',
|
||||
'Pan',
|
||||
|
||||
@@ -11,17 +11,17 @@ export const setToolActiveToolbar = {
|
||||
const toolbarButtons: Button[] = [
|
||||
// sections
|
||||
{
|
||||
id: 'measurementSection',
|
||||
id: 'MeasurementTools',
|
||||
uiType: 'ohif.toolButtonList',
|
||||
props: {
|
||||
buttonSection: 'measurementSection',
|
||||
buttonSection: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'MoreTools',
|
||||
uiType: 'ohif.toolButtonList',
|
||||
props: {
|
||||
buttonSection: 'moreToolsSection',
|
||||
buttonSection: true,
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user