Fixed issues with window resizing (m2)

This commit is contained in:
Ian Gilman 2015-01-20 17:19:20 -08:00
parent 2172da6aaa
commit 54be2b4b48

View file

@ -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);
}, },