Closed kenial closed 12 years ago
IMO, validPointForTouch: in RSColorPickerView.m should be fixed like this :
-(CGPoint)validPointForTouch:(CGPoint)touchPoint { - if (!cropToCircle) return touchPoint; + if (!cropToCircle) + { + if(touchPoint.x < 0) touchPoint.x = 0; + if(touchPoint.y < 0) touchPoint.y = 0; + if(touchPoint.x > self.frame.size.width) touchPoint.x = self.frame.size.width-0.1; + if(touchPoint.y > self.frame.size.height) touchPoint.y = self.frame.size.height-0.1; + return touchPoint; + }
Thanks for the heads up, sorry I haven't had a chance to look at this project until recently. Not sure if this is still an issue but it may have been fixed already.
IMO, validPointForTouch: in RSColorPickerView.m should be fixed like this :