unbreak madman save button
Reviewed By: fkgozali Differential Revision: D2594398 fb-gh-sync-id: ad8f47c0c259e3aec4e9c99f10d06173fcd4f8b4
This commit is contained in:
parent
8167f40163
commit
f5b2659f35
|
@ -19,7 +19,7 @@
|
||||||
static UIView *RCTViewHitTest(UIView *view, CGPoint point, UIEvent *event)
|
static UIView *RCTViewHitTest(UIView *view, CGPoint point, UIEvent *event)
|
||||||
{
|
{
|
||||||
for (UIView *subview in [view.subviews reverseObjectEnumerator]) {
|
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];
|
CGPoint convertedPoint = [subview convertPoint:point fromView:view];
|
||||||
UIView *subviewHitTestView = [subview hitTest:convertedPoint withEvent:event];
|
UIView *subviewHitTestView = [subview hitTest:convertedPoint withEvent:event];
|
||||||
if (subviewHitTestView != nil) {
|
if (subviewHitTestView != nil) {
|
||||||
|
|
Loading…
Reference in New Issue