summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-07-03 12:46:11 +0200
committerGitHub <noreply@github.com>2020-07-03 12:46:11 +0200
commita6f1714612404f62c67035d155a38e7cb04f352e (patch)
treec6648c4b1ffbb30440581264880448723f3ecfdb
parent7af7590790b29ad52d01aea6bd4387392394ea0a (diff)
parent47c929c9728454f1b0013e4de3b3a27a1f9c69dd (diff)
Merge pull request #37218 from lrgilbert/graphnode-port-separation
Fixed GraphNode port separation.
-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++;
}