Browse Source

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

Fixed GraphNode port separation.
Rémi Verschelde 5 năm trước cách đây
mục cha
commit
a6f1714612
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  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;
 		idx++;
 	}