Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing value of last keyframe #49

Open
aztack opened this issue Jun 18, 2024 · 1 comment
Open

Missing value of last keyframe #49

aztack opened this issue Jun 18, 2024 · 1 comment
Labels

Comments

@aztack
Copy link

aztack commented Jun 18, 2024

This is the original lottie data.json where a layer with 2 scale keyframes and the second keyframe only has "t" property:
image

After animation.fromJSON(above-json). The keyframes do not have any value of last frame
image

Maybe copy previous keyframe's "s" property to the last keyframe's "s" property?

Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs.

@github-actions github-actions bot added the stale label Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant