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

@@ -416,7 +416,7 @@ export class LayoutManager {
const isSequenced = this.isDisplaySetsSequenced(sequenceMap);
// Get Active Viewport Index if isMultiple is false
const activeViewportIndex = !isMultiple ? Session.get('activeViewport') : null;
const activeViewportIndex = !isMultiple ? window.store.getState().viewports.activeViewport : null;
// Check if is next and looping is blocked
if (isNext && !allowLooping) {
@@ -649,7 +649,7 @@ export class LayoutManager {
this.moveMultipleViewportDisplaySets(isNext);
} else {
// Get the selected viewport index
const viewportIndex = Session.get('activeViewport');
const viewportIndex = window.store.getState().viewports.activeViewport;
// Move display sets on a single viewport
this.moveSingleViewportDisplaySets(viewportIndex, isNext);