unbreak madman save button

Reviewed By: fkgozali

Differential Revision: D2594398

fb-gh-sync-id: ad8f47c0c259e3aec4e9c99f10d06173fcd4f8b4
This commit is contained in:
Chace Liang 2015-10-29 10:55:31 -07:00 committed by facebook-github-bot-0
parent 8167f40163
commit f5b2659f35
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@
static UIView *RCTViewHitTest(UIView *view, CGPoint point, UIEvent *event)
{
for (UIView *subview in [view.subviews reverseObjectEnumerator]) {
if (!subview.clipsToBounds && !subview.isHidden && subview.isUserInteractionEnabled && subview.alpha > 0) {
if (!subview.isHidden && subview.isUserInteractionEnabled && subview.alpha > 0) {
CGPoint convertedPoint = [subview convertPoint:point fromView:view];
UIView *subviewHitTestView = [subview hitTest:convertedPoint withEvent:event];
if (subviewHitTestView != nil) {