Open JeromeTW opened 7 years ago
I have witnessed the same kind of issues.
When choosing a colour towards the yellow quadrant, it gives strange results with a negative blue component which produces strange results.
It seems that there is an offset indeed. Not sure where it is coming from, but it would be great if it could be solved as the component is really great otherwise.
At first, thank you for the nice color tool.
It's easy to reproduce the problem. I downloaded your example, and changed getSelectedColor(_ sender: UIButton) function as following.
then, run example app on device. 1.move circle thumb to the top of the Big color circle. 2.pressed "select color", you will see the circle thumb position is moved down a little bit. 3.but if you select color is white at the Big color circle's center, will not see the phenomenon.
I guess it's about the color's format(RGB, HSV)
Xcode 8, Swift 3, iPad Mini, iOS 9.1