-
Notifications
You must be signed in to change notification settings - Fork 584
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
color.toString() not switching to rgba() with alpha change #92
Comments
Thanks for the demo, I see the issue. So I am thinking the proposed change is if you call |
Yeah, I'd expect |
Added a test to Tinycolor for this, will look at implementation later. Spectrum is in sync with master on TinyColor so it should be an easy change. |
Added a commit to TinyColor to handle this case: bgrins/TinyColor@b65da21 |
Should be fixed on: https://github.com/bgrins/spectrum/blob/issue-92/spectrum.js |
Copied code directly into jsfiddle: http://jsfiddle.net/RsjFb/1/ |
Really nice library! Small bug:
When the initial value is a named or hex color, then alpha is changed, color.toString() doesn't switch to rgba() when needed.
http://jsfiddle.net/RsjFb/

The text was updated successfully, but these errors were encountered: