godot icon indicating copy to clipboard operation
godot copied to clipboard

Fix `emulate_mouse_from_touch` setting affecting editor

Open ohboh opened this issue 1 year ago • 1 comments

Fixes #96784, #84207 Make emulate_mouse_from_touch always true in the editor.

ohboh avatar Sep 30 '24 16:09 ohboh

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.

ohboh avatar Oct 01 '24 16:10 ohboh

Did you validate that the setting still apply to the running project in the Play window?

Yep, everything works fine for me

ohboh avatar Oct 21 '24 17:10 ohboh

Thanks! Congratulations on your first contribution!

Repiteo avatar Oct 21 '24 21:10 Repiteo