summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlrgilbert <levi@levigilbert.com>2020-03-21 16:09:48 -0500
committerlrgilbert <levi@levigilbert.com>2020-07-03 11:28:08 +0200
commit47c929c9728454f1b0013e4de3b3a27a1f9c69dd (patch)
tree288c799cc3dd194a4fdeb9cb87a63eba60620c6f
parentf0dffa5f1d63ab944e3e6a28e68184773996a721 (diff)
Fixed separation of ports on GraphNode
Fixes #32474.
-rw-r--r--scene/gui/graph_node.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/scene/gui/graph_node.cpp b/scene/gui/graph_node.cpp
index b6a96238dc..01b54ddaa8 100644
--- a/scene/gui/graph_node.cpp
+++ b/scene/gui/graph_node.cpp
@@ -503,9 +503,7 @@ void GraphNode::_connpos_update() {
}
}
- if (vofs > 0) {
- vofs += sep;
- }
+ vofs += sep;
vofs += size.y;
idx++;
}