Fix element inspector

Differential Revision: D2513268

fb-gh-sync-id: c0c91cc96926eb6d222c7cbc8855342e8594a09f
This commit is contained in:
Andrei Coman
2015-10-06 11:36:42 -07:00
committed by facebook-github-bot-6
parent 0de9e0104a
commit a876b234c6
2 changed files with 5 additions and 5 deletions

View File

@@ -632,8 +632,8 @@ public class UIManagerModule extends ReactContextBaseJavaModule implements
final Callback callback) {
mOperationsQueue.enqueueFindTargetForTouch(
reactTag,
point.getInt(0),
point.getInt(1),
Math.round(PixelUtil.toPixelFromDIP(point.getDouble(0))),
Math.round(PixelUtil.toPixelFromDIP(point.getDouble(1))),
callback);
}