Skip to content

Commit

Permalink
Change condition check to dispatch hotspot update
Browse files Browse the repository at this point in the history
  • Loading branch information
Krzysztof Ciombor committed Oct 17, 2017
1 parent 1136673 commit f6495c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ var TouchableNativeFeedback = createReactClass({
touchableHandleActivePressIn: function(e: Event) {
this.props.onPressIn && this.props.onPressIn(e);
this._dispatchPressedStateChange(true);
if (!Platform.isTV) {
if (this.pressInLocation) {
this._dispatchHotspotUpdate(this.pressInLocation.locationX, this.pressInLocation.locationY);
}
},
Expand Down

0 comments on commit f6495c1

Please sign in to comment.