Skip to content

Commit

Permalink
Merge pull request #49970 from trollodel/graphnode_fix_port_position
Browse files Browse the repository at this point in the history
Fix GraphNode port position when the control has the Expand flag
  • Loading branch information
akien-mga authored Jun 29, 2021
2 parents 871a338 + 07c3b40 commit 9c6d7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scene/gui/graph_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9c6d7f8

Please sign in to comment.