@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.
@@ -3669,18 +3669,15 @@ var spine = (() => {
3669
3669
  let finished = this.updateMixingFrom(from, delta);
3670
3670
  from.animationLast = from.nextAnimationLast;
3671
3671
  from.trackLast = from.nextTrackLast;
3672
- if (to.nextTrackLast != -1) {
3673
- const discard = to.mixTime == 0 && from.mixTime == 0;
3674
- if (to.mixTime >= to.mixDuration || discard) {
3675
- if (from.totalAlpha == 0 || to.mixDuration == 0 || discard) {
3676
- to.mixingFrom = from.mixingFrom;
3677
- if (from.mixingFrom != null)
3678
- from.mixingFrom.mixingTo = to;
3679
- to.interruptAlpha = from.interruptAlpha;
3680
- this.queue.end(from);
3681
- }
3682
- return finished;
3683
- }
3672
+ if (to.nextTrackLast != -1 && to.mixTime >= to.mixDuration) {
3673
+ if (from.totalAlpha == 0 || to.mixDuration == 0) {
3674
+ to.mixingFrom = from.mixingFrom;
3675
+ if (from.mixingFrom != null)
3676
+ from.mixingFrom.mixingTo = to;
3677
+ to.interruptAlpha = from.interruptAlpha;
3678
+ this.queue.end(from);
3679
+ }
3680
+ return finished;
3684
3681
  }
3685
3682
  from.trackTime += delta * from.timeScale;
3686
3683
  to.mixTime += delta;