Browse Source

Fix GraphNode port position when the control has the Expand flag

trollodel 4 years ago
parent
commit
07c3b40aa2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/gui/graph_node.cpp

+ 1 - 1
scene/gui/graph_node.cpp

@@ -757,7 +757,7 @@ void GraphNode::_connpos_update() {
 			continue;
 		}
 
-		Size2i size = c->get_combined_minimum_size();
+		Size2i size = c->get_rect().size;
 
 		int y = sb->get_margin(SIDE_TOP) + vofs;
 		int h = size.y;