Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Color transition bug when using gray color tones #48

Closed
Mitchizuky opened this issue Jun 14, 2021 · 1 comment
Closed

Color transition bug when using gray color tones #48

Mitchizuky opened this issue Jun 14, 2021 · 1 comment
Labels
🍗 enhancement New feature or request

Comments

@Mitchizuky
Copy link

Hello,

i use this library for a while and dont have any issues so far so all the credits for it. Recently i came across a bug regarding color transition when togling on-off.

When using gray color tones the color always transitions to a pinkish tone :).

Steps to reproduce:

circleColorOff="gray"
circleColorOn="green"

outcome:

Screenshot 2021-06-14 at 19 47 11
Screenshot 2021-06-14 at 19 47 09

I think the cause for this is the inputRange from background color interpolation. inputRange should be [0,1] instead of [0.5,1].

@hyochan hyochan added the 🍗 enhancement New feature or request label Jul 12, 2021
hyochan added a commit that referenced this issue Jul 12, 2021
@hyochan
Copy link
Collaborator

hyochan commented Jul 12, 2021

Thanks for issuing! You may try 2.2.0!

@hyochan hyochan closed this as completed Jul 12, 2021
hyochan added a commit that referenced this issue Jul 12, 2021
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
🍗 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants