David Catuhe 6 năm trước cách đây
mục cha
commit
a0580b71d2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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)) {