wip on react transition 8

This commit is contained in:
Erik Ziegler committed 2018-12-03 18:11:39 +01:00
1 parent 9ae5dd25ce
commit 71b49e6766
35 files changed
+818 -470

No files matched your search

@@ -30,9 +30,12 @@ export function setActiveViewport(element) {
$element.trigger('OHIFBeforeActivateViewport');
}
// When an OHIFActivateViewport event is fired, update the Meteor Session
// When an OHIFActivateViewport event is fired, update the Redux state
// with the viewport index that it was fired from.
Session.set('activeViewport', viewportIndex);
window.store.dispatch({
type: 'SET_VIEWPORT_ACTIVE',
viewportIndex
});
// Finally, enable stack prefetching and hide the reference lines from
// the newly activated viewport that has a canvas