skydoves / ColorPickerView

🎨 Android colorpicker for getting colors from any images by tapping on the desired color.
Apache License 2.0
1.6k stars 211 forks source link

The color will flash when the touch point moves outside the color plate. #46

Closed SuhaylZhao closed 4 years ago

SuhaylZhao commented 4 years ago

Describe the Bug:

  1. When the touch point moves inside the color plate, everything works normally.
  2. However, the color will flash when the touch point moves outside the color plate.

What happened and What should I do?

skydoves commented 4 years ago

@SuhaylZhao Hi, could you test with another image? The basic palette's outline is not smooth.

SuhaylZhao commented 4 years ago

@skydoves Hi, I tried other image and got the same result.

This has nothing to do with whether the color is smooth or not, but returns the wrong color value when the touch point moves to the outside of the color plate.

I recorded the screen, and you can see clearly that it's blinking.

2020-04-23_18-42-10.zip

SuhaylZhao commented 4 years ago

Hi,

You're right. The edge of the palette is not smooth enough. I use the previous version of the palette, everything is working properly.

thank you.