mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +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: [] };
|
||||
animationInfoObject.animations.push({
|
||||
animationName: animationNameOrTrackIndexStringCycle,
|
||||
loop: loopOrRepeatDelay.trim().toLowerCase() === "true",
|
||||
loop: (loopOrRepeatDelay || "").trim().toLowerCase() === "true",
|
||||
delay,
|
||||
mixDuration,
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user