Run animations in series

This commit is contained in:
Tim Schaub
2016-11-06 10:06:58 -07:00
parent 337c6bb73e
commit 6f08498684
2 changed files with 32 additions and 0 deletions
+3
View File
@@ -340,6 +340,9 @@ ol.View.prototype.updateAnimations_ = function() {
this.set(ol.View.Property.ROTATION, rotation);
}
more = true;
if (!animation.complete) {
break;
}
}
if (seriesComplete) {
this.setHint(ol.View.Hint.ANIMATING, -1);