Correct label position for nodes that don't have networks.

This commit is contained in:
Simon Howe
2016-07-12 16:10:56 +02:00
parent 6f8dc22ca3
commit 6a79938939
+1 -1
View File
@@ -104,7 +104,7 @@ class Node extends React.Component {
const useSvgLabels = exportingGraph;
const size = nodeScale(scaleFactor);
const networkOffset = nodeScale(scaleFactor * 0.65);
if (showingNetworks) {
if (showingNetworks && networks) {
labelOffsetY += (focused ? 12 : 8);
}