Explorar o código

Fixed separation of ports on GraphNode

Fixes #32474.

(cherry picked from commit 47c929c9728454f1b0013e4de3b3a27a1f9c69dd)
lrgilbert %!s(int64=5) %!d(string=hai) anos
pai
achega
c0db0749f7
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      scene/gui/graph_node.cpp

+ 1 - 2
scene/gui/graph_node.cpp

@@ -504,8 +504,7 @@ void GraphNode::_connpos_update() {
 			}
 		}
 
-		if (vofs > 0)
-			vofs += sep;
+		vofs += sep;
 		vofs += size.y;
 		idx++;
 	}