Nested toolbar w/ "sticky" when clicked

This commit is contained in:
dannyrb committed 2020-06-14 23:42:44 -04:00
1 parent 217d848f9f
commit 8c1a844558
11 files changed
+167 -93

No files matched your search

+15 -4
View File
@@ -4,7 +4,7 @@ export default [
id: 'Divider',
type: 'ohif.divider',
},
// Primary
// ~~ Primary
{
id: 'Zoom',
type: 'ohif.radioGroup',
@@ -50,7 +50,19 @@ export default [
type: 'primary',
},
},
// Secondary
{
id: 'Capture',
type: 'ohif.action',
props: {
icon: 'tool-capture',
label: 'Capture',
commandName: 'showDownloadViewportModal',
type: 'primary',
},
},
// Layout
// Expanded/Nested?
// ~~ Secondary
{
id: 'Annotate',
type: 'ohif.radioGroup',
@@ -63,8 +75,7 @@ export default [
label: 'Annotate',
commandName: 'setToolActive',
commandOptions: { toolName: 'ArrowAnnotate' },
type: 'secondary', // Purely for background color/hover styles :|
// Layout Template can set this?
type: 'secondary',
},
},
{