summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-08-06 00:17:37 +0200
committerGitHub <noreply@github.com>2022-08-06 00:17:37 +0200
commit99aa97949fa808e9a0be71193fb68ec365496c03 (patch)
tree81eff81f436f512ba2147c72003038581b91c4f3 /scene/gui
parent94664b4e61be5b2e2c1098a743cca872a5d8d6d8 (diff)
parent60677c4e95d40117efcbac85f2adaac31dd4fda3 (diff)
Merge pull request #63958 from hakro/fix-control-animation-keys
Remove rect_ prefix from control properties when keyframing
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 c5054525a7..112b8c74af 100644
--- a/scene/gui/graph_node.cpp
+++ b/scene/gui/graph_node.cpp
@@ -450,7 +450,7 @@ void GraphNode::_validate_property(PropertyInfo &property) const {
Control::_validate_property(property);
GraphEdit *graph = Object::cast_to<GraphEdit>(get_parent());
if (graph) {
- if (property.name == "rect_position") {
+ if (property.name == "position") {
property.usage |= PROPERTY_USAGE_READ_ONLY;
}
}