@esotericsoftware/spine-webgl 4.2.40 → 4.2.41
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/iife/spine-webgl.js
CHANGED
|
@@ -4426,11 +4426,11 @@ var spine = (() => {
|
|
|
4426
4426
|
set mixDuration(mixDuration) {
|
|
4427
4427
|
this._mixDuration = mixDuration;
|
|
4428
4428
|
}
|
|
4429
|
-
|
|
4429
|
+
setMixDurationWithDelay(mixDuration, delay) {
|
|
4430
4430
|
this._mixDuration = mixDuration;
|
|
4431
|
-
if (this.previous != null &&
|
|
4432
|
-
|
|
4433
|
-
this.delay =
|
|
4431
|
+
if (this.previous != null && delay <= 0)
|
|
4432
|
+
delay += this.previous.getTrackComplete() - mixDuration;
|
|
4433
|
+
this.delay = delay;
|
|
4434
4434
|
}
|
|
4435
4435
|
/** Controls how properties keyed in the animation are mixed with lower tracks. Defaults to {@link MixBlend#replace}, which
|
|
4436
4436
|
* replaces the values from the lower tracks with the animation values. {@link MixBlend#add} adds the animation values to
|