소스 검색

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;
 		idx++;
 	}