-
-
Notifications
You must be signed in to change notification settings - Fork 286
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
Remove alpha field from color-functions if lockOpacity is set to true #257
Labels
improvement
Something could be improved
Comments
simonwep
added
feature request
New feature requested
and removed
bug
Something isn't working
labels
Dec 10, 2020
simonwep
changed the title
Cannot turn off alpha in text input
Remove alpha field from color-functions if lockOpacity is set to true
Dec 10, 2020
For now you can do something like this: color.toRGBA().toString(0).replace(', 1)', ')').replace('rgba', 'rgb'); |
Okay, that is unexpected and not well-implemented. I'll see what I can do :) |
simonwep
added
improvement
Something could be improved
and removed
feature request
New feature requested
bug
Something isn't working
labels
Mar 13, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Report
Hi there!
I'm trying to disable any selection of alpha channel, our application does not support it.
I set input options like
This has the desired effect of suppressing UI elements for the user to use mouse for selecting transparency.
Also this has the desired effect of changing button text of RGBA to RGB and HSLA to HSL.
Here are the problems that arise:
rgba()
andhsla()
functions. Expect these to only containrgb()
andhsl()
Stackblitz
I prepared this Stackblitz to demo the issue
https://stackblitz.com/edit/js-qur2ih
The text was updated successfully, but these errors were encountered: