mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix touch inspector when using Nodes
Summary: Fix touch inspector when using Nodes by implementing custom logic. This logic now takes into account that non-View nodes need to be clickable. Reviewed By: astreet Differential Revision: D3433927
This commit is contained in:
@@ -42,4 +42,8 @@ package com.facebook.react.flat;
|
||||
/* package */ int getReactTag(float touchX, float touchY) {
|
||||
return mTag;
|
||||
}
|
||||
|
||||
/* package */ boolean matchesTag(int tag) {
|
||||
return mTag == tag;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user