diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-06-16 10:00:06 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-06-16 10:00:06 +0200 |
commit | 7cc99d213f4eb3b73f9169140dff2f7a6f02065f (patch) | |
tree | 6595fc5e9cceb5952b8c4e0886fcb32402d8d6e9 /main | |
parent | 941575b7b8673e49068aad07ef4736de48d65ea0 (diff) | |
parent | 21da2fbbb08664c7cedac450d7e7331a6f270ade (diff) |
Merge pull request #61951 from Calinou/ios-touch-delay-add-property-hint
Diffstat (limited to 'main')
-rw-r--r-- | main/main.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/main/main.cpp b/main/main.cpp index 7b5fa79008..50add16f3d 100644 --- a/main/main.cpp +++ b/main/main.cpp @@ -1509,7 +1509,11 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph "0,33200,1,or_greater")); // No negative numbers GLOBAL_DEF("display/window/ios/hide_home_indicator", true); - GLOBAL_DEF("input_devices/pointing/ios/touch_delay", 0.150); + GLOBAL_DEF("input_devices/pointing/ios/touch_delay", 0.15); + ProjectSettings::get_singleton()->set_custom_property_info("input_devices/pointing/ios/touch_delay", + PropertyInfo(Variant::FLOAT, + "input_devices/pointing/ios/touch_delay", + PROPERTY_HINT_RANGE, "0,1,0.001")); // XR project settings. GLOBAL_DEF_RST_BASIC("xr/openxr/enabled", false); |