Add a property hint for the iOS touch delay project setting
This commit is contained in:
parent
8df8fff54b
commit
21da2fbbb0
1 changed files with 5 additions and 1 deletions
|
@ -1496,7 +1496,11 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||||
"0,33200,1,or_greater")); // No negative numbers
|
"0,33200,1,or_greater")); // No negative numbers
|
||||||
|
|
||||||
GLOBAL_DEF("display/window/ios/hide_home_indicator", true);
|
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.
|
// XR project settings.
|
||||||
GLOBAL_DEF_RST_BASIC("xr/openxr/enabled", false);
|
GLOBAL_DEF_RST_BASIC("xr/openxr/enabled", false);
|
||||||
|
|
Loading…
Reference in a new issue