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 shorthand alpha channel parsing. #34

Merged
merged 1 commit into from
Mar 9, 2017
Merged

Fix shorthand alpha channel parsing. #34

merged 1 commit into from
Mar 9, 2017

Conversation

ben-eb
Copy link
Contributor

@ben-eb ben-eb commented Mar 9, 2017

The previous behaviour would always set the alpha channel to 1. This has been fixed, and I've also added a test case to prevent a regression.

@Qix- Qix- merged commit eb857c2 into Qix-:master Mar 9, 2017
@Qix-
Copy link
Owner

Qix- commented Mar 9, 2017

You're right, not sure how I missed that test not being there. Thank you! Release inbound.

@Qix-
Copy link
Owner

Qix- commented Mar 9, 2017

Released as 1.5.1. Thanks again!

@ben-eb
Copy link
Contributor Author

ben-eb commented Mar 9, 2017

You're very welcome. 🎉

@ben-eb ben-eb deleted the shorthand-alpha branch March 9, 2017 19:32
@Qix-
Copy link
Owner

Qix- commented Mar 9, 2017

There were actually a few things wrong with the latest hex string fixes. I've gone in and fixed them; not sure why some tests weren't failing before.

Thanks for bringing it to my attention!

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