-
Notifications
You must be signed in to change notification settings - Fork 921
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
The left edge of the 2.13.7 version picks up the color BUG #620
Comments
I had the same issue but was able to patch it out.
The function treats any value <= 1 as a unit value (value between 0 and 1) and thus multiplies it by 100 to produce a percentage. So when you approach the left edge of the color picker you'll break that threshold and end up with unexpected values (i.e. 1 becomes 100; moving the indicator / color saturation all the way right). I patched the saturation and bright calculation in the "helpers/saturation.js" file to produce a unit value instead of the 0 to 100 value. This way it's not fighting the tinycolor library's strange behavior.
|
@casesandberg |
@casesandberg - can you integrate kgapich's change? I would love to use this. |
This has been fixed with #670 and will be released shortly as |
Zài shí sè qì zuǒ cè biānyuán shíqǔ yánsè shí, yánsè huì tiào dào zuì yòubiān huò zhōngjiān
25/5000
When you pick a color on the left edge of the color picker, the color jumps to the far right or middle
The text was updated successfully, but these errors were encountered: