fix: temporarily hide/disable capture until it can be repaired (#2084)

This commit is contained in:
Danny Brown 2020-10-05 21:43:52 -04:00 committed by GitHub
parent 6c40f581a6
commit 93fa71a2bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 11 deletions

View File

@ -62,7 +62,8 @@ export default function mode({ modeConfiguration }) {
'Zoom', 'Zoom',
'WindowLevel', 'WindowLevel',
'Pan', 'Pan',
'Capture', // TODO: OHIF-376, need more time to adress this reasonably
// 'Capture',
'Layout', 'Layout',
'MoreTools', 'MoreTools',
]); ]);

View File

@ -146,16 +146,17 @@ export default [
commandOptions: { toolName: 'Pan' }, commandOptions: { toolName: 'Pan' },
}, },
}, },
{ // TODO: OHIF-376, need more time to adress this reasonably
id: 'Capture', // {
type: 'ohif.action', // id: 'Capture',
props: { // type: 'ohif.action',
icon: 'tool-capture', // props: {
label: 'Capture', // icon: 'tool-capture',
type: 'action', // label: 'Capture',
commandName: 'showDownloadViewportModal', // type: 'action',
}, // commandName: 'showDownloadViewportModal',
}, // },
// },
{ {
id: 'Layout', id: 'Layout',
type: 'ohif.layoutSelector', type: 'ohif.layoutSelector',