Add layout tools based on mode.
This commit is contained in:
1 parent
c23c1e8db6
commit
41c508b2da
4 files changed
+90
-65
No files matched your search
@@ -24,12 +24,19 @@ export default function mode({ modeConfiguration }) {
|
||||
},
|
||||
]);
|
||||
|
||||
debugger;
|
||||
|
||||
// Could import layout selector here from org.ohif.default (when it exists!)
|
||||
toolBarManager.setToolBarLayout([
|
||||
// Primary
|
||||
['StackScroll', { label: 'More', subMenu: ['Zoom'] }],
|
||||
{
|
||||
tools: ['Zoom'],
|
||||
moreTools: ['Zoom'],
|
||||
},
|
||||
// Secondary
|
||||
['StackScroll'],
|
||||
{
|
||||
tools: ['Zoom'],
|
||||
},
|
||||
]);
|
||||
},
|
||||
layoutTemplate: ({ routeProps }) => {
|
||||
|
||||
Reference in new issue
Block a user