mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[ts][webcomponents] Fix empty loop param in animations.
This commit is contained in:
parent
335d0ed17f
commit
5e6f4cae8d
@ -146,7 +146,7 @@ function castToAnimationsInfo (value: string | null): AnimationsInfo | undefined
|
|||||||
const animationInfoObject = obj[trackIndexStringOrLoopDefinition] ||= { animations: [] };
|
const animationInfoObject = obj[trackIndexStringOrLoopDefinition] ||= { animations: [] };
|
||||||
animationInfoObject.animations.push({
|
animationInfoObject.animations.push({
|
||||||
animationName: animationNameOrTrackIndexStringCycle,
|
animationName: animationNameOrTrackIndexStringCycle,
|
||||||
loop: loopOrRepeatDelay.trim().toLowerCase() === "true",
|
loop: (loopOrRepeatDelay || "").trim().toLowerCase() === "true",
|
||||||
delay,
|
delay,
|
||||||
mixDuration,
|
mixDuration,
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user