You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
iOS: Fix memory leak on touch input
Replaces iOS gesture with touch implementation Fixes #66422 Remove godot_view_gesture_recognizer It's now unused. Remove input_devices/pointing/ios/touch_delay Unused with removal of gesture. Remove unused methods from interface Implementation made obsolete in prior commit Style conformance
This commit is contained in:
@@ -1284,11 +1284,6 @@ Error Main::setup(const char *execpath, int argc, char *argv[], bool p_second_ph
|
||||
GLOBAL_DEF("display/window/ios/hide_home_indicator", true);
|
||||
GLOBAL_DEF("display/window/ios/hide_status_bar", true);
|
||||
GLOBAL_DEF("display/window/ios/suppress_ui_gesture", true);
|
||||
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::REAL,
|
||||
"input_devices/pointing/ios/touch_delay",
|
||||
PROPERTY_HINT_RANGE, "0,1,0.001"));
|
||||
|
||||
Engine::get_singleton()->set_frame_delay(frame_delay);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user