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

Fix Issue #40: Alpha is set back to 1 when the colour changes #46

Merged
merged 1 commit into from
Feb 18, 2017

Conversation

andycreeth
Copy link
Contributor

This fixes: #40

The issue arose when using tinycolor to parse hex values. Since a hex string has no alpha value, tinycolor will always set an alpha of 1. Instead, we should set the alpha value that was passed in with the data.

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.

Alpha is set back to 1 when the colour changes
2 participants