Adding studies and timepoints to quickSwitch

This commit is contained in:
Bruno Alves de Faria committed 2017-10-25 22:20:43 -02:00
1 parent 0417bbd0ff
commit 89f6bd4610
15 files changed
+204 -34

No files matched your search

@@ -94,11 +94,15 @@ Template.seriesQuickSwitch.helpers({
}
return seriesItems;
},
studyBrowserTemplate() {
return OHIF.viewer.quickSwitchStudyBrowserTemplate || 'studyBrowserQuickSwitch';
}
});
Template.seriesQuickSwitch.events({
'mouseenter .series-switch'(event, instance) {
'mouseenter .series-switch, rescale .series-switch'(event, instance) {
// Control the width of the series browser
const $switch = $(event.currentTarget);
const browserWidth = $switch.offset().left + $switch.outerWidth();