summaryrefslogtreecommitdiff
path: root/platform/ios
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-11-08 02:10:35 +0100
committerGitHub <noreply@github.com>2022-11-08 02:10:35 +0100
commit2f0d3d5424c393c756f4cd5cac26287c95aaf4fe (patch)
treead7a7fa1d33b3e46c7f79c9b4016f51d53c67a76 /platform/ios
parentb61fda9d2a6166e41538405ad8ae24f1aed40570 (diff)
parentd9f066d5fadfce5fc19310f8ba5ce51d3552bf9e (diff)
Merge pull request #61549 from KoBeWi/project_settings_mess
Remove duplicate project settings definitions
Diffstat (limited to 'platform/ios')
-rw-r--r--platform/ios/display_server_ios.mm4
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);