Make renderSync always force a render
This commit is contained in:
+1
-7
@@ -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()) {
|
this.animationDelay_.fire();
|
||||||
// pass
|
|
||||||
} else if (this.freezeRenderingCount_ === 0) {
|
|
||||||
this.animationDelay_.fire();
|
|
||||||
} else {
|
|
||||||
this.dirty_ = true;
|
|
||||||
}
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user