PixiEditor / ColorPicker

Customizable Color Picker control for WPF and AvaloniaUI
https://pixieditor.net/colorpicker
MIT License
247 stars 25 forks source link

Fix small behavior issue in HSV/HSL/RGB sliders #34

Closed ccfoo242 closed 1 year ago

ccfoo242 commented 1 year ago

-Use constant S/V and S/L values when creating hue slider colors to have same behavior as circle hue slider. -Also use constant alpha for all sliders (hsv, hsl, rgb) for same reason.

Original version applies the SV/SL values to the Hue slider as the user changes it. This results in a hue slider that no longer shows the colors. This should behave the same as the circular hue slider and always show all hues: Original: image

With this change: image

Additionally, when changing alpha values, all of the sliders except for the circular one were using the alpha. I think these should not be effected and let the ColorDisplay show the result:

Original: image

With this change: image

ccfoo242 commented 1 year ago

Thanks!