Implementing disabled handling for commands
This commit is contained in:
1 parent
1a0729336b
commit
8aac5dc47d
13 files changed
+85
-117
No files matched your search
@@ -141,8 +141,8 @@ Template.toolbarSection.helpers({
|
||||
id: 'toggleCineDialog',
|
||||
title: 'CINE',
|
||||
classes: 'imageViewerCommand',
|
||||
svgLink: '/packages/ohif_viewerbase/assets/icons.svg#icon-tools-cineplay-toggle',
|
||||
disableFunction: Viewerbase.viewportUtils.hasMultipleFrames
|
||||
iconClasses: 'fa fa-youtube-play',
|
||||
active: () => $('#cineDialog').is(':visible')
|
||||
});
|
||||
|
||||
const buttonData = [];
|
||||
|
||||
Reference in new issue
Block a user