We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 485de74 commit baf6ea0Copy full SHA for baf6ea0
spine-ts/spine-core/src/AnimationState.ts
@@ -951,7 +951,11 @@ export class TrackEntry {
951
952
set mixDuration (mixDuration: number) {
953
this._mixDuration = mixDuration;
954
- if (this.previous != null && this.delay <= 0) this.delay += this.previous.getTrackComplete() - mixDuration;
+ }
955
+
956
+ setMixDurationWithDelta(mixDuration: number, delay: number) {
957
+ this._mixDuration = mixDuration;
958
+ if (this.previous != null && this.delay <= 0) this.delay += this.previous.getTrackComplete() - delay;
959
this.delay = this.delay;
960
}
961
0 commit comments