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

Allow different types of Values in ValueXY constructor argument #65

Open
guillaume86 opened this issue Apr 26, 2017 · 0 comments
Open

Comments

@guillaume86
Copy link

Currently you can't use anything but simple AnimatedValues:

https://github.com/animatedjs/animated/blob/master/src/AnimatedValueXY.js#L71-L76

So add, multiply and modulo values are not accepted for example.
I'm not sure what would be the correct check, or if it should be removed completely.

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

No branches or pull requests

1 participant