We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5f9312a + f6c81ea commit 03012d6Copy full SHA for 03012d6
cocos2d-ui/CCScrollView.m
@@ -66,24 +66,16 @@ @interface CCTapDownGestureRecognizer : UIGestureRecognizer
66
67
@implementation CCTapDownGestureRecognizer
68
69
--(void)touchBegan:(UITouch *)touch withEvent:(UIEvent *)event
+- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event
70
{
71
if (self.state == UIGestureRecognizerStatePossible)
72
73
self.state = UIGestureRecognizerStateRecognized;
74
}
75
76
77
--(void)touchMoved:(UITouch *)touch withEvent:(UIEvent *)event
78
-{
79
- self.state = UIGestureRecognizerStateFailed;
80
-}
81
-
82
--(void)touchEnded:(UITouch *)touch withEvent:(UIEvent *)event
83
84
85
86
@end
+
87
#endif
88
89
0 commit comments