diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-14 18:55:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-14 18:55:01 +0200 |
commit | ab58d94deab2cb441e10d62f00346604371d66ef (patch) | |
tree | 672e4dd0a0d91dd5adcdbf3d4da19afa8fb3ae3d /scene/main/canvas_layer.cpp | |
parent | 4098fdde2859ae27f669b54e674ff92d8e887fda (diff) | |
parent | 92817aa72fe68ebe6f6a0ae74b3d3a7be8cca16c (diff) |
Merge pull request #62037 from fire-forge/link
Diffstat (limited to 'scene/main/canvas_layer.cpp')
-rw-r--r-- | scene/main/canvas_layer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/canvas_layer.cpp b/scene/main/canvas_layer.cpp index dbd771bf9c..3a071ef542 100644 --- a/scene/main/canvas_layer.cpp +++ b/scene/main/canvas_layer.cpp @@ -330,7 +330,7 @@ void CanvasLayer::_bind_methods() { ADD_GROUP("Transform", ""); ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "offset", PROPERTY_HINT_NONE, "suffix:px"), "set_offset", "get_offset"); ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "rotation", PROPERTY_HINT_RANGE, "-1080,1080,0.1,or_lesser,or_greater,radians"), "set_rotation", "get_rotation"); - ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "scale"), "set_scale", "get_scale"); + ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "scale", PROPERTY_HINT_LINK), "set_scale", "get_scale"); ADD_PROPERTY(PropertyInfo(Variant::TRANSFORM2D, "transform", PROPERTY_HINT_NONE, "suffix:px"), "set_transform", "get_transform"); ADD_GROUP("", ""); ADD_PROPERTY(PropertyInfo(Variant::OBJECT, "custom_viewport", PROPERTY_HINT_RESOURCE_TYPE, "Viewport", PROPERTY_USAGE_NONE), "set_custom_viewport", "get_custom_viewport"); |