Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit 096df7b

Browse files
committed
[ASDisplayNode] Remove #if gating of ASDisplayNode hitTest: (I'd misread this as _ASDisplayView's implementation, and both are needed).
1 parent cd49335 commit 096df7b

2 files changed

Lines changed: 0 additions & 3 deletions

File tree

AsyncDisplayKit/ASControlNode.mm

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -500,5 +500,4 @@ + (void)setEnableHitTestDebug:(BOOL)enable
500500
_enableHitTestDebug = enable;
501501
}
502502

503-
504503
@end

AsyncDisplayKit/ASDisplayNode.mm

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2383,13 +2383,11 @@ - (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)gestureRecognizer
23832383
return [superview gestureRecognizerShouldBegin:gestureRecognizer];
23842384
}
23852385

2386-
#if DEBUG
23872386
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
23882387
{
23892388
ASDisplayNodeAssertMainThread();
23902389
return [_view hitTest:point withEvent:event];
23912390
}
2392-
#endif
23932391

23942392
- (void)setHitTestSlop:(UIEdgeInsets)hitTestSlop
23952393
{

0 commit comments

Comments
 (0)