feat(actions): simplify action corner api through the toolbarService (#5033)
This commit is contained in:
1 parent
f71b88e639
commit
7c15bb8901
246 files changed
+7930
-4270
No files matched your search
@@ -94,8 +94,8 @@ function modeFactory({ modeConfiguration }) {
|
||||
|
||||
toolGroupService.createToolGroupAndAddTools('default', tools);
|
||||
|
||||
toolbarService.addButtons(toolbarButtons);
|
||||
toolbarService.createButtonSection('primary', [
|
||||
toolbarService.register(toolbarButtons);
|
||||
toolbarService.updateSection('primary', [
|
||||
'measurementSection',
|
||||
'Zoom',
|
||||
'WindowLevel',
|
||||
|
||||
@@ -15,7 +15,6 @@ const toolbarButtons: Button[] = [
|
||||
uiType: 'ohif.toolButtonList',
|
||||
props: {
|
||||
buttonSection: 'measurementSection',
|
||||
groupId: 'measurementSection',
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -23,7 +22,6 @@ const toolbarButtons: Button[] = [
|
||||
uiType: 'ohif.toolButtonList',
|
||||
props: {
|
||||
buttonSection: 'moreToolsSection',
|
||||
groupId: 'MoreTools',
|
||||
},
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user