godot
godot copied to clipboard
Fix `emulate_mouse_from_touch` setting affecting editor
Fixes #96784, #84207
Make emulate_mouse_from_touch always true in the editor.
This looks fishy to me, the code on lines 3185 to 3190 does nothing as it's always overridden by line 3193. I think this requires a bit more research into why the code is this way and how to fix it.
I think 3185 to 3190 is for set_emulate_touch_from_mouse while 3193 is for set_emulate_mouse_from_touch.
Did you validate that the setting still apply to the running project in the Play window?
Yep, everything works fine for me
Thanks! Congratulations on your first contribution!