Final adjustments on quickSwitch
This commit is contained in:
1 parent
89f6bd4610
commit
37137b9331
13 files changed
+170
-80
No files matched your search
@@ -4,19 +4,6 @@ import { OHIF } from 'meteor/ohif:core';
|
||||
import { Viewerbase } from 'meteor/ohif:viewerbase';
|
||||
|
||||
Template.toolbarSection.helpers({
|
||||
// Returns true if the view shall be split in two viewports
|
||||
splitView() {
|
||||
// Run this computation every time the viewports are updated
|
||||
Session.get('LayoutManagerUpdated');
|
||||
|
||||
// Stops here if layout manager is not defined yet
|
||||
if (!Viewerbase.layoutManager) {
|
||||
return;
|
||||
}
|
||||
|
||||
return Viewerbase.layoutManager.viewportData.length > 1;
|
||||
},
|
||||
|
||||
leftSidebarToggleButtonData() {
|
||||
const instance = Template.instance();
|
||||
return {
|
||||
|
||||
Reference in new issue
Block a user