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:
Jared Forsyth 2015-06-01 17:30:49 -07:00
parent 219a7c1bfd
commit e6c04df5a1
1 changed files with 1 additions and 1 deletions

View File

@ -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 (