summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorkobewi <kobewi4e@gmail.com>2022-10-20 15:43:17 +0200
committerkobewi <kobewi4e@gmail.com>2022-11-08 01:29:39 +0100
commitd9f066d5fadfce5fc19310f8ba5ce51d3552bf9e (patch)
treead7a7fa1d33b3e46c7f79c9b4016f51d53c67a76 /platform
parentb61fda9d2a6166e41538405ad8ae24f1aed40570 (diff)
Remove duplicate project settings definitions
Diffstat (limited to 'platform')
-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);