Make renderSync always force a render

This commit is contained in:
Tom Payne
2014-02-27 18:59:05 +01:00
parent c6df670a55
commit dd83952c28
-6
View File
@@ -1022,13 +1022,7 @@ ol.Map.prototype.isRendered = function() {
* Render. * Render.
*/ */
ol.Map.prototype.renderSync = function() { ol.Map.prototype.renderSync = function() {
if (this.animationDelay_.isActive()) {
// pass
} else if (this.freezeRenderingCount_ === 0) {
this.animationDelay_.fire(); this.animationDelay_.fire();
} else {
this.dirty_ = true;
}
}; };