colorpicker-compose icon indicating copy to clipboard operation
colorpicker-compose copied to clipboard

Not able to set value of alpha and brightness sliders to 0

Open daannnnn opened this issue 2 years ago • 1 comments

  • Library Version v1.0.0

The values of alpha and brightness sliders cannot be set to 0.

As you can see in this screenshot, If I slide the alpha slider to the leftmost side, it's value only gets to #09 instead of #00

This also applies to the brightness slider.

daannnnn avatar Apr 14 '22 12:04 daannnnn

This seems to have been caused by having the position of the wheel only within the bounds of the slider. The position used in calculating the value of the slider is the position of the center point of the wheel. And the least it can go currently is not 0, but 0 + wheelRadius.

daannnnn avatar Apr 14 '22 13:04 daannnnn

Hey @skydoves any plans to resolve this issue soon ? A quick fix would be much appreciated Thanks !

ijk29 avatar Dec 06 '22 06:12 ijk29