David Catuhe %!s(int64=6) %!d(string=hai) anos
pai
achega
a0580b71d2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)) {