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.
This commit is contained in:
parent
219a7c1bfd
commit
e6c04df5a1
|
@ -59,7 +59,7 @@ var InspectorOverlay = React.createClass({
|
|||
? 'flex-start'
|
||||
: 'flex-end';
|
||||
|
||||
content.push(<View style={[styles.frame, this.state.frame]} />);
|
||||
content.push(<View pointerEvents="none" style={[styles.frame, this.state.frame]} />);
|
||||
content.push(<ElementProperties hierarchy={this.state.hierarchy} />);
|
||||
}
|
||||
return (
|
||||
|
|
Loading…
Reference in New Issue