diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-03-27 19:16:03 +0200 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-09-02 19:08:20 +0200 |
commit | f7292dbeb3e1e6c9d4c4cf26e11a7df865b06637 (patch) | |
tree | bb38e9496e0e2ae059bc6c847b28d04096d474b7 /core | |
parent | 6ccbc2709323c3f77f9509dcf55edad6d46e2a7c (diff) |
Rename `or_lesser` range property hint to `or_less`
"less" should be used for quantity, rather than "lesser".
Existing scripts that use `or_lesser` in `_get_property_list()`
will need to be updated to account for this change.
Diffstat (limited to 'core')
-rw-r--r-- | core/object/object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/object.h b/core/object/object.h index 1784c1fe70..97608c7938 100644 --- a/core/object/object.h +++ b/core/object/object.h @@ -50,7 +50,7 @@ class TypedArray; enum PropertyHint { PROPERTY_HINT_NONE, ///< no hint provided. - PROPERTY_HINT_RANGE, ///< hint_text = "min,max[,step][,or_greater][,or_lesser][,no_slider][,radians][,degrees][,exp][,suffix:<keyword>] range. + PROPERTY_HINT_RANGE, ///< hint_text = "min,max[,step][,or_greater][,or_less][,no_slider][,radians][,degrees][,exp][,suffix:<keyword>] range. PROPERTY_HINT_ENUM, ///< hint_text= "val1,val2,val3,etc" PROPERTY_HINT_ENUM_SUGGESTION, ///< hint_text= "val1,val2,val3,etc" PROPERTY_HINT_EXP_EASING, /// exponential easing function (Math::ease) use "attenuation" hint string to revert (flip h), "positive_only" to exclude in-out and out-in. (ie: "attenuation,positive_only") |