summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2023-01-23 10:07:47 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2023-01-23 10:07:47 +0100
commit33e9dff3ded26f6ae4532b2e8da5eb98af147a81 (patch)
tree66912aa07392023a06530dad21b99fa84408e389 /main
parenteaf306e0b15e4283883f06bf903b05711a4dbfe8 (diff)
Mark touch emulation project settings as basic
These settings are likely to be toggled often during development, so they should be as accessible as possible.
Diffstat (limited to 'main')
-rw-r--r--main/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/main.cpp b/main/main.cpp
index 2326e519bf..cfde124b90 100644
--- a/main/main.cpp
+++ b/main/main.cpp
@@ -2165,7 +2165,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
if (id) {
agile_input_event_flushing = GLOBAL_DEF("input_devices/buffering/agile_event_flushing", false);
- if (bool(GLOBAL_DEF("input_devices/pointing/emulate_touch_from_mouse", false)) &&
+ if (bool(GLOBAL_DEF_BASIC("input_devices/pointing/emulate_touch_from_mouse", false)) &&
!(editor || project_manager)) {
if (!DisplayServer::get_singleton()->is_touchscreen_available()) {
//only if no touchscreen ui hint, set emulation
@@ -2173,7 +2173,7 @@ Error Main::setup2(Thread::ID p_main_tid_override) {
}
}
- id->set_emulate_mouse_from_touch(bool(GLOBAL_DEF("input_devices/pointing/emulate_mouse_from_touch", true)));
+ id->set_emulate_mouse_from_touch(bool(GLOBAL_DEF_BASIC("input_devices/pointing/emulate_mouse_from_touch", true)));
}
MAIN_PRINT("Main: Load Translations and Remaps");