Skip to content

Conversation

sroddy
Copy link

@sroddy sroddy commented Apr 18, 2021

Hi,
thank you very much for your work on this package. It's been my favorite animation add-on since its very first version years ago!

I've been thinking about a little revamp of the API in order to make it more sound at compile-time.
It leverages tags/keys that are generics on the animation type they want to represent, so that it's guaranteed that you can only add animatables (for example tweens) of the given tag type and also extract values of the animatable while using them for the animation at a later time.

I'll submit this as a draft PR because, if you like the approach, some work needs to be done in order to handle backward compatibility and reword the docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant