diff options
author | kobewi <kobewi4e@gmail.com> | 2022-10-20 15:43:17 +0200 |
---|---|---|
committer | kobewi <kobewi4e@gmail.com> | 2022-11-08 01:29:39 +0100 |
commit | d9f066d5fadfce5fc19310f8ba5ce51d3552bf9e (patch) | |
tree | ad7a7fa1d33b3e46c7f79c9b4016f51d53c67a76 /platform/ios | |
parent | b61fda9d2a6166e41538405ad8ae24f1aed40570 (diff) |
Remove duplicate project settings definitions
Diffstat (limited to 'platform/ios')
-rw-r--r-- | platform/ios/display_server_ios.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/ios/display_server_ios.mm b/platform/ios/display_server_ios.mm index 8808d8e842..6793b40dd4 100644 --- a/platform/ios/display_server_ios.mm +++ b/platform/ios/display_server_ios.mm @@ -227,7 +227,7 @@ void DisplayServerIOS::_window_callback(const Callable &p_callable, const Varian // MARK: Touches void DisplayServerIOS::touch_press(int p_idx, int p_x, int p_y, bool p_pressed, bool p_double_click) { - if (!GLOBAL_DEF("debug/disable_touch", false)) { + if (!GLOBAL_GET("debug/disable_touch")) { Ref<InputEventScreenTouch> ev; ev.instantiate(); @@ -240,7 +240,7 @@ void DisplayServerIOS::touch_press(int p_idx, int p_x, int p_y, bool p_pressed, } void DisplayServerIOS::touch_drag(int p_idx, int p_prev_x, int p_prev_y, int p_x, int p_y) { - if (!GLOBAL_DEF("debug/disable_touch", false)) { + if (!GLOBAL_GET("debug/disable_touch")) { Ref<InputEventScreenDrag> ev; ev.instantiate(); ev->set_index(p_idx); |