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

Alpha channel not kept when creating a new iro Color object based on an existing one #193

Closed
Asmor opened this issue Jun 10, 2021 · 1 comment

Comments

@Asmor
Copy link

Asmor commented Jun 10, 2021

In the screenshot below, foo is an iro Color object created by passing in the string rgba(0,0,0,0). foo's alpha channel is correctly set to 0. bar is an iro Color object created by passing in foo. 'bar`'s alpha channel is 1.

image

Here's another screenshot demonstrating that the color channels are being copied correctly, it's only the alpha channel having the issue.

image

I can also confirm the issue is not unique to objects created with rgba strings; I had the same results using e.g. #ffffff00.

@jaames
Copy link
Owner

jaames commented Jul 5, 2021

sorry for the wait on both of these! should be fixed now :)

@jaames jaames closed this as completed Jul 5, 2021
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

No branches or pull requests

2 participants