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 keyframe data when both 'x' and 'y' are presented #50

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

Missing keyframe data when both 'x' and 'y' are presented #50

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

Comments

@aztack
Copy link

aztack commented Jun 27, 2024

image

In the right part of the image, fromJSON method convert lottie json to class attributes.
When the json is like {a:0,ix:2,k:[380.5, 777.5,0],l:2} where 'k' is an array of number, the conversion is correct. But when the json is like {p: {x:{a:0,...},y:{a:1...}}}, where x is not animated but y is, the conversion is missing the data.

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 27, 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