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

Update AnimationComponent to the new component format #4174

Merged
merged 12 commits into from Apr 6, 2022

Conversation

willeastcott
Copy link
Contributor

This PR updates the AnimationComponent to the currently recommended format. In other words, it no longer uses the AnimationComponentData class (apart from for the enabled property).

I confirm I have read the contributing guidelines and signed the Contributor License Agreement.

@willeastcott willeastcott added enhancement area: animation Animation related issue labels Apr 4, 2022
@willeastcott willeastcott self-assigned this Apr 4, 2022
@willeastcott willeastcott marked this pull request as ready for review April 4, 2022 23:18
@willeastcott willeastcott merged commit 1776d67 into main Apr 6, 2022
@willeastcott willeastcott deleted the refactor-animationcomponent branch April 6, 2022 18:13
yaustar added a commit that referenced this pull request Oct 6, 2022
… PR #4174 (#4698)

Co-authored-by: Steven Yau <syau@snapchat.com>
mvaligursky pushed a commit that referenced this pull request Oct 6, 2022
… PR #4174 (#4698)

Co-authored-by: Steven Yau <syau@snapchat.com>
yaustar added a commit that referenced this pull request Oct 19, 2022
…ion is playing (#4765)

* Processing the animation data properties in the original order before PR #4174

* Return a sensible value for animation component duration if no animation is playing

* Return max value instead

* Reverting value to 0 with warning

* Update src/framework/components/animation/component.js

Co-authored-by: Martin Valigursky <59932779+mvaligursky@users.noreply.github.com>

Co-authored-by: Steven Yau <syau@snapchat.com>
Co-authored-by: Martin Valigursky <59932779+mvaligursky@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: animation Animation related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants