瀏覽代碼

Merge pull request #37218 from lrgilbert/graphnode-port-separation

Fixed GraphNode port separation.
Rémi Verschelde 5 年之前
父節點
當前提交
a6f1714612
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      scene/gui/graph_node.cpp

+ 1 - 3
scene/gui/graph_node.cpp

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