fix(xod-client): fix hanging hover effect on Node after moving / drilling down and etc

This commit is contained in:
Kirill Shumilov
2018-03-01 17:17:37 +03:00
parent d68315c3cc
commit 9da70221bf

View File

@@ -43,6 +43,10 @@ class Node extends React.Component {
);
}
componentWillUnmount() {
this.onMouseLeave();
}
onMouseDown(event) {
this.props.onMouseDown(event, this.props.id);
}