summaryrefslogtreecommitdiff
path: root/scene/gui/graph_node.cpp
diff options
context:
space:
mode:
authortrollodel <33117082+trollodel@users.noreply.github.com>2021-06-28 18:52:13 +0200
committertrollodel <33117082+trollodel@users.noreply.github.com>2021-06-28 18:52:13 +0200
commit07c3b40aa2690e80aebcb27c471731b9ffdec698 (patch)
treea42a593fc6eb377f94e9b431c53a418b5184c968 /scene/gui/graph_node.cpp
parentce7f5992083bdebf2d828a0117d5197eff624710 (diff)
Fix GraphNode port position when the control has the Expand flag
Diffstat (limited to 'scene/gui/graph_node.cpp')
-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;