LT-405: syncronized scrolling issue
This commit is contained in:
1 parent
ffc32fb214
commit
2752228c7f
6 files changed
+24
-20
No files matched your search
@@ -39,7 +39,7 @@ export class StackImagePositionOffsetSynchronizer {
|
||||
}
|
||||
|
||||
this.active = false;
|
||||
toolManager.deactivateCommandButton('link');
|
||||
toolManager.deactivateCommandButton('linkStackScroll');
|
||||
}
|
||||
|
||||
update() {
|
||||
@@ -73,7 +73,7 @@ export class StackImagePositionOffsetSynchronizer {
|
||||
});
|
||||
|
||||
this.active = true;
|
||||
toolManager.activateCommandButton('link');
|
||||
toolManager.activateCommandButton('linkStackScroll');
|
||||
Session.set('StackImagePositionOffsetSynchronizerLinkedViewports', viewportIndexes);
|
||||
|
||||
}
|
||||
|
||||
@@ -447,7 +447,7 @@ export const toolManager = {
|
||||
const activeCommandButtons = Session.get('ToolManagerActiveCommandButtons') || [];
|
||||
|
||||
if(activeCommandButtons.indexOf(button) === -1) {
|
||||
activeCommandButtons.push('link');
|
||||
activeCommandButtons.push(button);
|
||||
Session.set('ToolManagerActiveCommandButtons', activeCommandButtons);
|
||||
}
|
||||
},
|
||||
|
||||
@@ -255,7 +255,7 @@ const stopAllClips = () => {
|
||||
|
||||
const isStackScrollLinkingDisabled = () => {
|
||||
// Its called everytime active viewport and/or layout change
|
||||
Session.get('activeViewport');
|
||||
Session.get('viewportActivated');
|
||||
Session.get('LayoutManagerUpdated');
|
||||
|
||||
const synchronizer = OHIF.viewer.stackImagePositionOffsetSynchronizer;
|
||||
|
||||
Reference in new issue
Block a user