mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 11:32:13 +00:00
Fix "emulate mouse from touch" setting affecting editor
Make "emulate mouse from touch" always true in the editor
This commit is contained in:
parent
e3213aaef5
commit
4ef07cb9a5
@ -3191,6 +3191,10 @@ Error Main::setup2(bool p_show_boot_logo) {
|
||||
}
|
||||
|
||||
id->set_emulate_mouse_from_touch(bool(GLOBAL_DEF_BASIC("input_devices/pointing/emulate_mouse_from_touch", true)));
|
||||
|
||||
if (editor) {
|
||||
id->set_emulate_mouse_from_touch(true);
|
||||
}
|
||||
}
|
||||
|
||||
OS::get_singleton()->benchmark_end_measure("Startup", "Setup Window and Boot");
|
||||
|
Loading…
Reference in New Issue
Block a user