瀏覽代碼

Fixed separation of ports on GraphNode

Fixes #32474.

(cherry picked from commit 47c929c9728454f1b0013e4de3b3a27a1f9c69dd)
lrgilbert 5 年之前
父節點
當前提交
c0db0749f7
共有 1 個文件被更改,包括 1 次插入2 次删除
  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++;
 	}