diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-07-03 12:46:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-03 12:46:11 +0200 |
commit | a6f1714612404f62c67035d155a38e7cb04f352e (patch) | |
tree | c6648c4b1ffbb30440581264880448723f3ecfdb | |
parent | 7af7590790b29ad52d01aea6bd4387392394ea0a (diff) | |
parent | 47c929c9728454f1b0013e4de3b3a27a1f9c69dd (diff) |
Merge pull request #37218 from lrgilbert/graphnode-port-separation
Fixed GraphNode port separation.
-rw-r--r-- | scene/gui/graph_node.cpp | 4 |
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++; } |