summaryrefslogtreecommitdiff
path: root/scene/2d/position_2d.cpp
diff options
context:
space:
mode:
authorAaron Franke <arnfranke@yahoo.com>2022-05-19 22:43:38 -0500
committerGitHub <noreply@github.com>2022-05-19 22:43:38 -0500
commitbdb9edcdd65e7257e74afdfc07288e1f5b178d2b (patch)
treef764c3da29e924a8ff60504fefe252276bc5224e /scene/2d/position_2d.cpp
parent920ca6252888489ca72647ad8d5ef721d5e5e686 (diff)
parent5dc3bfb80e84cdb1861f0d5900dc086b04e1e101 (diff)
Merge pull request #50106 from aaronfranke/more-units
Use suffixes for units in nodes and resources
Diffstat (limited to 'scene/2d/position_2d.cpp')
-rw-r--r--scene/2d/position_2d.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/2d/position_2d.cpp b/scene/2d/position_2d.cpp
index d946ea63bf..cfa4d0401e 100644
--- a/scene/2d/position_2d.cpp
+++ b/scene/2d/position_2d.cpp
@@ -113,7 +113,7 @@ void Position2D::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_gizmo_extents", "extents"), &Position2D::set_gizmo_extents);
ClassDB::bind_method(D_METHOD("get_gizmo_extents"), &Position2D::get_gizmo_extents);
- ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "gizmo_extents", PROPERTY_HINT_RANGE, "0,1000,0.1,or_greater"), "set_gizmo_extents", "get_gizmo_extents");
+ ADD_PROPERTY(PropertyInfo(Variant::FLOAT, "gizmo_extents", PROPERTY_HINT_RANGE, "0,1000,0.1,or_greater,suffix:px"), "set_gizmo_extents", "get_gizmo_extents");
}
Position2D::Position2D() {