We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 50c5ed4 commit 367061cCopy full SHA for 367061c
core/input/input.cpp
@@ -847,6 +847,7 @@ bool Input::is_emulating_touch_from_mouse() const {
847
// Calling this whenever the game window is focused helps unsticking the "touch mouse"
848
// if the OS or its abstraction class hasn't properly reported that touch pointers raised
849
void Input::ensure_touch_mouse_raised() {
850
+ _THREAD_SAFE_METHOD_
851
if (mouse_from_touch_index != -1) {
852
mouse_from_touch_index = -1;
853
0 commit comments