[ASDisplayNode] Remove #if gating of ASDisplayNode hitTest: (I'd misread this as _ASDisplayView's implementation, and both are needed).

This commit is contained in:
Scott Goodson
2016-03-28 07:49:14 -07:00
parent cd493358cc
commit 096df7b385
2 changed files with 0 additions and 3 deletions

View File

@@ -500,5 +500,4 @@ void _ASEnumerateControlEventsIncludedInMaskWithBlock(ASControlNodeEvent mask, v
_enableHitTestDebug = enable;
}
@end

View File

@@ -2383,13 +2383,11 @@ void recursivelyTriggerDisplayForLayer(CALayer *layer, BOOL shouldBlock)
return [superview gestureRecognizerShouldBegin:gestureRecognizer];
}
#if DEBUG
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
{
ASDisplayNodeAssertMainThread();
return [_view hitTest:point withEvent:event];
}
#endif
- (void)setHitTestSlop:(UIEdgeInsets)hitTestSlop
{