From e6c04df5a11628500a6538a546b3c549fda0cf99 Mon Sep 17 00:00:00 2001 From: Jared Forsyth Date: Mon, 1 Jun 2015 17:30:49 -0700 Subject: [PATCH] fix bug with inspector clicking Summary: Previously, if you were already inspecting an element, touching again would select a completely different element because the touch position was calculated relative to the current overlay. This fixes it. @public Test Plan: Open the inspector, click around, verify that every click selects the thing you clicked on. --- Libraries/ReactIOS/InspectorOverlay.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraries/ReactIOS/InspectorOverlay.js b/Libraries/ReactIOS/InspectorOverlay.js index 8b5c6c0cb..eeb6e7965 100644 --- a/Libraries/ReactIOS/InspectorOverlay.js +++ b/Libraries/ReactIOS/InspectorOverlay.js @@ -59,7 +59,7 @@ var InspectorOverlay = React.createClass({ ? 'flex-start' : 'flex-end'; - content.push(); + content.push(); content.push(); } return (