Fix GraphNode port position when the control has the Expand flag

(cherry picked from commit 07c3b40aa2690e80aebcb27c471731b9ffdec698)
This commit is contained in:
trollodel 2021-06-28 18:52:13 +02:00 committed by Rémi Verschelde
parent 63f6b29f51
commit 814e25d2d8
No known key found for this signature in database
GPG Key ID: C3336907360768E1

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;