fix(menu): improves menu swipe animation

This commit is contained in:
Manu Mtz.-Almeida
2016-11-23 20:16:28 +01:00
parent 51a492a3c5
commit 91478edd9f
2 changed files with 3 additions and 2 deletions

View File

@@ -1016,7 +1016,7 @@ export class Animation {
if (dur < 0) {
dur = this._dur;
}
this._isAsync = (currentStepValue > 0.05 && currentStepValue < 0.95 && dur > 30);
this._isAsync = (dur > 30);
this._progressEnd(shouldComplete, stepValue, dur, this._isAsync);