summaryrefslogtreecommitdiff
path: root/scene/gui
diff options
context:
space:
mode:
authorHakim <hakim.rouatbi@gmail.com>2022-08-05 15:30:17 +0200
committerHakim <hakim.rouatbi@gmail.com>2022-08-05 16:04:51 +0200
commit60677c4e95d40117efcbac85f2adaac31dd4fda3 (patch)
treefe846d582709648b6ccf2ca6369c0536bb9c3195 /scene/gui
parentf5a89bf460a8250ca6b0a1a5fdba4bcb70df91cf (diff)
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;
}
}