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 fb581a3 + 6eb90b2 commit 56886f1Copy full SHA for 56886f1
cocos2d-ui/CCScrollView.m
@@ -763,6 +763,8 @@ - (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldRecogni
763
764
- (void) onEnterTransitionDidFinish
765
{
766
+ NSAssert(_panRecognizer.view == nil && _tapRecognizer.view == nil, @"CCScrollView: Probable double call into onEnterTransitionDidFinish - gesture recognizers are already added");
767
+
768
// Add recognizers to view
769
UIView* view = [CCDirector sharedDirector].view;
770
0 commit comments