David Catuhe 6 tahun lalu
induk
melakukan
a0580b71d2
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  1. 1 1
      src/Animations/runtimeAnimation.ts

+ 1 - 1
src/Animations/runtimeAnimation.ts

@@ -482,7 +482,7 @@ export class RuntimeAnimation {
         this._previousDelay = delay;
         this._previousRatio = ratio;
 
-        if (!loop && (to > from && ratio >= range)) { // If we are out of range and not looping get back to caller
+        if (!loop && (to >= from && ratio >= range)) { // If we are out of range and not looping get back to caller
             returnValue = false;
             highLimitValue = animation._getKeyValue(this._maxValue);
         } else if (!loop && (from > to && ratio <= range)) {