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

The selector-circle (slide) in the saturation part should stay at the same x,y coordinates when shifting the hue #63

Open
caredev opened this issue Jul 11, 2021 · 0 comments

Comments

@caredev
Copy link

caredev commented Jul 11, 2021

The selector-circle (slide) in the saturation part should stay at the same x,y coordinates when shifting the hue.
Look at how photoshop or the native webkit color picker works.

In your color picker it jumps the selected color to the top most right corner.
This can be solved by only altering the hue value of the selected color in ColorPicker's selectHue(color: any).
You could do Object.assign(this, { r, g, b, h }); and ignore the s and v values,

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

1 participant