mirror of
https://github.com/openseadragon/openseadragon.git
synced 2025-03-30 12:10:12 +03:00
Fixed issues with window resizing (m2)
This commit is contained in:
parent
2172da6aaa
commit
54be2b4b48
1 changed files with 4 additions and 1 deletions
|
@ -152,6 +152,8 @@
|
||||||
immediately: true
|
immediately: true
|
||||||
});
|
});
|
||||||
|
|
||||||
|
self.viewer.forceRedraw();
|
||||||
|
|
||||||
self.viewer.svgOverlay('resize');
|
self.viewer.svgOverlay('resize');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -354,7 +356,8 @@
|
||||||
this.updateHighlight();
|
this.updateHighlight();
|
||||||
this.updateHover(-1);
|
this.updateHover(-1);
|
||||||
|
|
||||||
setTimeout(function() {
|
clearTimeout(this.scrollTimeout);
|
||||||
|
this.scrollTimeout = setTimeout(function() {
|
||||||
self.ignoreScroll = false;
|
self.ignoreScroll = false;
|
||||||
}, this.viewer.animationTime * 1000);
|
}, this.viewer.animationTime * 1000);
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Reference in a new issue