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:
Ahmed El-Helw
2016-06-15 12:23:13 -07:00
parent 5f3f9caceb
commit 4ecfa0c800
4 changed files with 122 additions and 0 deletions
@@ -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;
}
}