-
Notifications
You must be signed in to change notification settings - Fork 29.7k
Clamp the alpha channel to the valid range in the DlColor constructor #171203
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
Clamp the alpha channel to the valid range in the DlColor constructor #171203
Conversation
flar
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Pinging @gaaclarke for any reason to preserve alpha until we need to use it for something like argb()? No colorspace dabbles in the range of alpha I'm assuming...
gaaclarke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I think this should be fine.
No description provided.