@esotericsoftware/spine-canvaskit 4.2.76 → 4.2.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/spine-canvaskit.min.mjs +1 -1
- package/dist/esm/spine-canvaskit.mjs +9 -12
- package/dist/esm/spine-canvaskit.mjs.map +2 -2
- package/dist/iife/spine-canvaskit.js +9 -12
- package/dist/iife/spine-canvaskit.js.map +2 -2
- package/dist/iife/spine-canvaskit.min.js +1 -1
- package/package.json +2 -2
|
@@ -3526,18 +3526,15 @@ var _AnimationState = class {
|
|
|
3526
3526
|
let finished = this.updateMixingFrom(from, delta);
|
|
3527
3527
|
from.animationLast = from.nextAnimationLast;
|
|
3528
3528
|
from.trackLast = from.nextTrackLast;
|
|
3529
|
-
if (to.nextTrackLast != -1) {
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
if (from.
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
}
|
|
3539
|
-
return finished;
|
|
3540
|
-
}
|
|
3529
|
+
if (to.nextTrackLast != -1 && to.mixTime >= to.mixDuration) {
|
|
3530
|
+
if (from.totalAlpha == 0 || to.mixDuration == 0) {
|
|
3531
|
+
to.mixingFrom = from.mixingFrom;
|
|
3532
|
+
if (from.mixingFrom != null)
|
|
3533
|
+
from.mixingFrom.mixingTo = to;
|
|
3534
|
+
to.interruptAlpha = from.interruptAlpha;
|
|
3535
|
+
this.queue.end(from);
|
|
3536
|
+
}
|
|
3537
|
+
return finished;
|
|
3541
3538
|
}
|
|
3542
3539
|
from.trackTime += delta * from.timeScale;
|
|
3543
3540
|
to.mixTime += delta;
|