LT-398: Toggle manual stack scroll synchronization between viewports

This commit is contained in:
Leonardo Campos committed 2016-12-29 11:37:25 -02:00
1 parent 2e6c8245d8
commit c3fc0b2b3b
9 files changed
+187 -4

No files matched your search

@@ -1,3 +1,5 @@
import { OHIF } from 'meteor/ohif:core';
setActiveViewport = element => {
if (!element) {
return;
@@ -26,6 +28,7 @@ setActiveViewport = element => {
const domElement = jQueryElement.get(0);
enablePrefetchOnElement(domElement);
displayReferenceLines(domElement);
OHIF.viewer.stackImagePositionOffsetSynchronizer.update();
}
// Set the div to focused, so keypress events are handled