mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-18 19:21:34 +08:00
prevent native animate flicker
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user