From 93fa71a2bf083e0a3a1ff700999de71942281bd2 Mon Sep 17 00:00:00 2001 From: Danny Brown Date: Mon, 5 Oct 2020 21:43:52 -0400 Subject: [PATCH] fix: temporarily hide/disable capture until it can be repaired (#2084) --- modes/longitudinal/src/index.js | 3 ++- modes/longitudinal/src/toolbarButtons.js | 21 +++++++++++---------- 2 files changed, 13 insertions(+), 11 deletions(-) diff --git a/modes/longitudinal/src/index.js b/modes/longitudinal/src/index.js index 6306fa19c..e8f00446b 100644 --- a/modes/longitudinal/src/index.js +++ b/modes/longitudinal/src/index.js @@ -62,7 +62,8 @@ export default function mode({ modeConfiguration }) { 'Zoom', 'WindowLevel', 'Pan', - 'Capture', + // TODO: OHIF-376, need more time to adress this reasonably + // 'Capture', 'Layout', 'MoreTools', ]); diff --git a/modes/longitudinal/src/toolbarButtons.js b/modes/longitudinal/src/toolbarButtons.js index 6365a4bde..b836c54a9 100644 --- a/modes/longitudinal/src/toolbarButtons.js +++ b/modes/longitudinal/src/toolbarButtons.js @@ -146,16 +146,17 @@ export default [ commandOptions: { toolName: 'Pan' }, }, }, - { - id: 'Capture', - type: 'ohif.action', - props: { - icon: 'tool-capture', - label: 'Capture', - type: 'action', - commandName: 'showDownloadViewportModal', - }, - }, + // TODO: OHIF-376, need more time to adress this reasonably + // { + // id: 'Capture', + // type: 'ohif.action', + // props: { + // icon: 'tool-capture', + // label: 'Capture', + // type: 'action', + // commandName: 'showDownloadViewportModal', + // }, + // }, { id: 'Layout', type: 'ohif.layoutSelector',