Fixed details panel not closing on canvas click

This commit is contained in:
jpellizzari
2016-11-08 12:56:58 -08:00
parent 072bea9dab
commit 3b84149f38

View File

@@ -236,7 +236,7 @@ class NodesChart extends React.Component {
}
handleMouseClick() {
if (!this.isZooming) {
if (!this.isZooming || this.props.selectedNodeId) {
this.props.clickBackground();
} else {
this.isZooming = false;