prevent native animate flicker

This commit is contained in:
Adam Bradley
2015-09-17 23:02:14 -05:00
parent a2346bf11b
commit c09ea0da44

View File

@ -387,6 +387,7 @@ export class Animation {
this._chld[i].progressStart(); this._chld[i].progressStart();
} }
this.duration(1000);
this.play(); this.play();
this.pause(); this.pause();
} }
@ -405,7 +406,7 @@ export class Animation {
} }
} }
progressFinish(shouldComplete, rate=1) { progressFinish(shouldComplete, rate=3) {
let promises = []; let promises = [];
this.isProgress = false; this.isProgress = false;