We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a8a7ba8 commit f0fbcebCopy full SHA for f0fbceb
spine-ts/spine-core/src/AnimationState.ts
@@ -441,7 +441,7 @@ export class AnimationState {
441
complete = true;
442
else {
443
const cycles = Math.floor(entry.trackTime / duration);
444
- complete = cycles > 0 && cycles > Math.floor(entry.trackTime / duration);
+ complete = cycles > 0 && cycles > Math.floor(entry.trackLast / duration);
445
}
446
} else
447
complete = animationTime >= animationEnd && entry.animationLast < animationEnd;
0 commit comments