1
0
mirror of https://github.com/godotengine/godot.git synced 2025-12-07 17:36:07 +00:00

Remove rect_ prefix from control properties when keyframing

This commit is contained in:
Hakim
2022-08-05 15:30:17 +02:00
parent f5a89bf460
commit 60677c4e95
3 changed files with 5 additions and 5 deletions

View File

@@ -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;
}
}