Merge pull request #49970 from trollodel/graphnode_fix_port_position

Fix GraphNode port position when the control has the Expand flag
This commit is contained in:
Rémi Verschelde 2021-06-29 12:41:58 +02:00 committed by GitHub
commit 9c6d7f840f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;