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

How change default saturation to maximal value to correct working of "hue" slider #232

Open
NDanilov2015 opened this issue May 11, 2021 · 5 comments

Comments

@NDanilov2015
Copy link

NDanilov2015 commented May 11, 2021

Hi, Xiaokaike!

Bug or "feature" in Sketch vue component from vue-color package version 2.8.1, last updating.

if you choose a color firstly from the "rainbow spectrum band" ("HUE slider / color tone"), without touching "buttons with colors" or "big area sector ("Saturation/Brightness")", then I get always black color, regardless of the chosen color tone in reality. Buttons and a "wide rectangle with gradations of brightness / saturation", however, selected the color correctly.

How I can setup default saturation/brightness to max values, without needs touching "big rectangle area" where is "pointer of saturation"? To I can to immediately select a color tone using the slider, without setting the saturation and brightness?

picture of bug

@NDanilov2015
Copy link
Author

Hi again! Can please someone help me with this bug/feature?

@NDanilov2015
Copy link
Author

The question yet actually...

@ckvv
Copy link

ckvv commented Jun 3, 2021

@NDanilov2015
You can set an initial color lliek this, when you choose a color firstly from the "rainbow spectrum band" and the alpha-value will not change.

@NDanilov2015
Copy link
Author

@chenkai0520 what did you mean? I need preset maximal value saturation/brightness before any manual choosing, strictly programmatically.

@ckvv
Copy link

ckvv commented Jun 4, 2021

@NDanilov2015 Yes it is,for example you can set a default color like #FFFFFF

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