1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-24 15:26:15 +00:00

Fix GraphNode port position when the control has the Expand flag

(cherry picked from commit 07c3b40aa2)
This commit is contained in:
trollodel
2021-06-28 18:52:13 +02:00
committed by Rémi Verschelde
parent 63f6b29f51
commit 814e25d2d8

View File

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