summaryrefslogtreecommitdiff
path: root/scene/2d
diff options
context:
space:
mode:
authorAnilforextra <anilforextra@gmail.com>2022-01-25 00:52:11 +0545
committerAnilforextra <anilforextra@gmail.com>2022-01-25 00:52:11 +0545
commit80187b77a9fc5f21758904bcb667a812c3230c07 (patch)
tree37c987e7ab7831ead907cad990789e1eaa6e3a2a /scene/2d
parent31a7ddbf838572e50415159a56720275f9523262 (diff)
Node2D/Node3D: Fix Undraggable Position Property.
Diffstat (limited to 'scene/2d')
-rw-r--r--scene/2d/node_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/node_2d.cpp b/scene/2d/node_2d.cpp
index 9331340e1b..9d26543243 100644
--- a/scene/2d/node_2d.cpp
+++ b/scene/2d/node_2d.cpp
@@ -413,7 +413,7 @@ void Node2D::_bind_methods() {
ClassDB::bind_method(D_METHOD("get_relative_transform_to_parent", "parent"), &Node2D::get_relative_transform_to_parent);
ADD_GROUP("Transform", "");
- ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "position", PROPERTY_HINT_RANGE, "-99999,99999,0,or_lesser,or_greater,noslider,suffix:px"), "set_position", "get_position");
+ ADD_PROPERTY(PropertyInfo(Variant::VECTOR2, "position", PROPERTY_HINT_RANGE, "-99999,99999,0.001,or_lesser,or_greater,noslider,suffix:px"), "set_position", "get_position");
ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "rotation", PROPERTY_HINT_RANGE, "-360,360,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::FLOAT, "skew", PROPERTY_HINT_RANGE, "-89.9,89.9,0.1,radians"), "set_skew", "get_skew");