mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-09 09:12:06 +08:00
Fix XY coords to be XY instead of YX
Summary: public This fixes the ordering of methods in touch handling to take their arguments as X,Y instead of Y,X. This is really just internal cleanup of native touch handling. Reviewed By: andreicoman11 Differential Revision: D2703003 fb-gh-sync-id: d169436d21fd11c1a9cb251e7e0b57b2094699e4
This commit is contained in:
committed by
facebook-github-bot-2
parent
d08727d99f
commit
7377fdcc70
@@ -437,7 +437,7 @@ public class NativeViewHierarchyManager {
|
||||
if (view == null) {
|
||||
throw new JSApplicationIllegalArgumentException("Could not find view with tag " + reactTag);
|
||||
}
|
||||
return TouchTargetHelper.findTargetTagForTouch(touchY, touchX, (ViewGroup) view);
|
||||
return TouchTargetHelper.findTargetTagForTouch(touchX, touchY, (ViewGroup) view);
|
||||
}
|
||||
|
||||
public void setJSResponder(int reactTag, int initialReactTag, boolean blockNativeResponder) {
|
||||
|
||||
Reference in New Issue
Block a user