You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling play(fromFrame:toFrame:completion:), I expect Lottie to play the animation in the given frame range properly but it somehow plays the last frame at the last for some reason
Actual Behavior
It should play the last frame in the range given
Animation JSON
Cannot share
Steps to reproduce
We need to use a Lottie file with IP = 30
eg: {"v":"5.9.0","fr":30,"ip":30,"op":210,"w":360,"h":270, .. }
Seems to occur if we use the CoreAnimation rendering engine
LottieConfiguration.shared.renderingEngine = .coreAnimation
We would need to use a lottie which has two states eg:
Processing State (Frame: 0 to 100) -> This would be in autoReverse LottieLoopMode
Final State (Frame: 101 - 200) -> This would be in playOnce LottieLoopMode
Now we use the following code to play from an specific frame range:
This issue is stale because it is marked "can't reproduce" and has had no activity in the past week. Please comment with additional information, or this issue will be closed due to inactivity in one week.
Which Version of Lottie are you using?
Lottie 4.4.2
Expected Behavior
When calling play(fromFrame:toFrame:completion:), I expect Lottie to play the animation in the given frame range properly but it somehow plays the last frame at the last for some reason
Actual Behavior
It should play the last frame in the range given
Animation JSON
Cannot share
Steps to reproduce
We need to use a Lottie file with IP = 30
eg:
{"v":"5.9.0","fr":30,"ip":30,"op":210,"w":360,"h":270, .. }
Seems to occur if we use the CoreAnimation rendering engine
LottieConfiguration.shared.renderingEngine = .coreAnimation
We would need to use a lottie which has two states eg:
Processing State (Frame: 0 to 100) -> This would be in autoReverse LottieLoopMode
Final State (Frame: 101 - 200) -> This would be in playOnce LottieLoopMode
Now we use the following code to play from an specific frame range:
The text was updated successfully, but these errors were encountered: