summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-06-29 12:41:58 +0200
committerGitHub <noreply@github.com>2021-06-29 12:41:58 +0200
commit9c6d7f840f6f226e5d422fc7697cb75ead6c401b (patch)
tree3b6da7571f5f93855af7aff582c3cad3f86bcac2 /scene/gui
parent871a338376569d7b8b9a4300bf8f53632dd15ad5 (diff)
parent07c3b40aa2690e80aebcb27c471731b9ffdec698 (diff)
Merge pull request #49970 from trollodel/graphnode_fix_port_position
Fix GraphNode port position when the control has the Expand flag
Diffstat (limited to 'scene/gui')
-rw-r--r--scene/gui/graph_node.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/gui/graph_node.cpp b/scene/gui/graph_node.cpp
index 93f1fe9e8e..836bffdf46 100644
--- a/scene/gui/graph_node.cpp
+++ b/scene/gui/graph_node.cpp
@@ -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;