Using the new time point browser on the sidebar
This commit is contained in:
1 parent
fd9cfed8e9
commit
d721c0dbde
13 files changed
+164
-72
No files matched your search
@@ -0,0 +1,16 @@
|
||||
import { Meteor } from 'meteor/meteor';
|
||||
import { Template } from 'meteor/templating';
|
||||
|
||||
Template.timepointBrowserStudies.onRendered(() => {
|
||||
const instance = Template.instance();
|
||||
const $container = instance.$('.timepoint-browser-studies');
|
||||
instance.adjustMaxHeight = () => $container.adjustMax('height');
|
||||
instance.adjustMaxHeight();
|
||||
});
|
||||
|
||||
Template.timepointBrowserStudies.events({
|
||||
'ohif.studies.study.click'(event, instance) {
|
||||
// FIXME disable all transitions during $.tempShow
|
||||
Meteor.setTimeout(instance.adjustMaxHeight, 300);
|
||||
}
|
||||
});
|
||||
Reference in new issue
Block a user