We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is hard to reproduce and I only faced this error myself once as well as only once by another user. So I have no idea by what this is caused.
Could we change https://github.com/jordond/kmpalette/blob/main/androidx-palette/src/commonMain/kotlin/com/kmpalette/palette/internal/utils/ColorUtils.kt#L78 to use min and max to force the alpha to be between 0 and 255 instead of throwing an exception?
min
max
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This is hard to reproduce and I only faced this error myself once as well as only once by another user.
So I have no idea by what this is caused.
Could we change https://github.com/jordond/kmpalette/blob/main/androidx-palette/src/commonMain/kotlin/com/kmpalette/palette/internal/utils/ColorUtils.kt#L78 to use
min
andmax
to force the alpha to be between 0 and 255 instead of throwing an exception?The text was updated successfully, but these errors were encountered: