Skip to content

Use interpolateColors instead of interpolateColor #1437

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

Merged
merged 1 commit into from
Jul 28, 2021

Conversation

M-i-k-e-l
Copy link
Collaborator

Description

Use interpolateColors instead of interpolateColor.
I've added this comment to the code, partly so we can find it when removing reanimated1 code.

Unlike const interpolate = interpolateNode || _interpolate;
interpolateColors has a different API (outputColorRange instead of outputRange)

Changelog

Use interpolateColors instead of interpolateColor (fix warning about interpolate)

@ethanshar ethanshar merged commit d5fc3e3 into master Jul 28, 2021
@M-i-k-e-l M-i-k-e-l deleted the fix/interpolate-color-deprecation branch October 4, 2021 08:05
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.

2 participants