diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2019-12-30 17:59:01 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-30 17:59:01 +0100 |
commit | 583d96cb964d37cca39e3bc0e9a4372d6693dfec (patch) | |
tree | 30c21652860182dd06124cdef1bd1847aece7f9c | |
parent | f3f6268ee7dbde110f67ed7d5c40f938edc6bd5a (diff) | |
parent | f1052aa893c7e4a050f13f2068b4a85907afa122 (diff) |
Merge pull request #34659 from Calinou/improve-timer-wait-time-hint
Improve the Timer wait time property hint
-rwxr-xr-x | scene/main/timer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/main/timer.cpp b/scene/main/timer.cpp index da96c6e89c..db504a22c7 100755 --- a/scene/main/timer.cpp +++ b/scene/main/timer.cpp @@ -206,7 +206,7 @@ void Timer::_bind_methods() { ADD_SIGNAL(MethodInfo("timeout")); ADD_PROPERTY(PropertyInfo(Variant::INT, "process_mode", PROPERTY_HINT_ENUM, "Physics,Idle"), "set_timer_process_mode", "get_timer_process_mode"); - ADD_PROPERTY(PropertyInfo(Variant::REAL, "wait_time", PROPERTY_HINT_EXP_RANGE, "0.01,4096,0.01"), "set_wait_time", "get_wait_time"); + ADD_PROPERTY(PropertyInfo(Variant::REAL, "wait_time", PROPERTY_HINT_EXP_RANGE, "0.001,4096,0.001,or_greater"), "set_wait_time", "get_wait_time"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "one_shot"), "set_one_shot", "is_one_shot"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "autostart"), "set_autostart", "has_autostart"); ADD_PROPERTY(PropertyInfo(Variant::BOOL, "paused", PROPERTY_HINT_NONE, "", 0), "set_paused", "is_paused"); |