Merge pull request #1524 from dumganhar/gles20

fixed #1538: Logic error in CCControlHuePicker::checkSliderPosition.
This commit is contained in:
James Chen 2012-10-30 23:37:37 -07:00
commit 188f59a16c
1 changed files with 1 additions and 1 deletions

View File

@ -162,7 +162,7 @@ bool CCControlHuePicker::checkSliderPosition(CCPoint location)
double distance = sqrt(pow (location.x + 10, 2) + pow(location.y, 2));
// check that the touch location is within the circle
if (160 > distance && distance > 118)
if (80 > distance && distance > 59)
{
updateSliderPosition(location);
return true;