Add layout tools based on mode.

This commit is contained in:
James A. Petts committed 2020-05-15 14:04:09 +02:00
1 parent c23c1e8db6
commit 41c508b2da
4 files changed
+90 -65

No files matched your search

+9 -2
View File
@@ -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 }) => {