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:
commit
9c6d7f840f
@ -757,7 +757,7 @@ void GraphNode::_connpos_update() {
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
Size2i size = c->get_combined_minimum_size();
|
Size2i size = c->get_rect().size;
|
||||||
|
|
||||||
int y = sb->get_margin(SIDE_TOP) + vofs;
|
int y = sb->get_margin(SIDE_TOP) + vofs;
|
||||||
int h = size.y;
|
int h = size.y;
|
||||||
|
Loading…
Reference in New Issue
Block a user