Sending the top and left position tweaks with the action

This commit is contained in:
wmwragg 2016-09-04 12:16:01 +01:00
parent 50bb4edd1c
commit 2d827a75a6
1 changed files with 4 additions and 0 deletions

View File

@ -52,6 +52,8 @@ module.exports = React.createClass({
action: 'view_tooltip',
tooltip: null,
parent: null,
top: null,
left: null,
});
ReactDOM.unmountComponentAtNode(this.tooltipContainer);
@ -90,6 +92,8 @@ module.exports = React.createClass({
action: 'view_tooltip',
tooltip: this.tooltip,
parent: parent,
top: this.props.top,
left: this.props.left,
});
},