mirror of
https://github.com/godotengine/godot.git
synced 2025-03-26 00:16:37 +08:00
Fix GraphNode port position when the control has the Expand flag
(cherry picked from commit 07c3b40aa2690e80aebcb27c471731b9ffdec698)
This commit is contained in:
parent
63f6b29f51
commit
814e25d2d8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user