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

Support autoreverses in gradient animations #341

Merged
merged 2 commits into from Oct 19, 2020

Conversation

Juanpe
Copy link
Owner

@Juanpe Juanpe commented Oct 19, 2020

Fixes #278

Summary

Now, for gradient skeletons, we can decide if the animation has autoreverses property enabled or not. If this property is true
the animation will be played with a ping-pong effect.

Preview:
autoreverses

How to use:
When launching the skeleton, you need to specify this property, here an example:

view.showAnimatedGradientSkeleton(animation: GradientDirection.leftRight.slidingAnimation(autoreverses: true))

Requirements

@Juanpe Juanpe merged commit efed2e7 into develop Oct 19, 2020
@Juanpe Juanpe self-assigned this Oct 19, 2020
@Juanpe Juanpe deleted the feature/animation_autoreverses branch February 5, 2021 20:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

How to autoreverse skeleton slide animation ?
1 participant