mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-15 03:21:35 +08:00
[ts] setMixDurationWithDelta -> setMixDurationWithDelay
This commit is contained in:
parent
4317ad1f58
commit
19f5067596
@ -953,10 +953,10 @@ export class TrackEntry {
|
||||
this._mixDuration = mixDuration;
|
||||
}
|
||||
|
||||
setMixDurationWithDelta(mixDuration: number, delay: number) {
|
||||
setMixDurationWithDelay(mixDuration: number, delay: number) {
|
||||
this._mixDuration = mixDuration;
|
||||
if (this.previous != null && this.delay <= 0) this.delay += this.previous.getTrackComplete() - delay;
|
||||
this.delay = this.delay;
|
||||
if (this.previous != null && delay <= 0) delay += this.previous.getTrackComplete() - mixDuration;
|
||||
this.delay = delay;
|
||||
}
|
||||
|
||||
/** Controls how properties keyed in the animation are mixed with lower tracks. Defaults to {@link MixBlend#replace}, which
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user