Skip to content

Commit 4ec07ff

Browse files
committed
Merge pull request #83301 from Alex2782/touch_screen_button_physics_process
Fix Android logic for deferred window input events being inverted
2 parents 64f8029 + 5137497 commit 4ec07ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

platform/android/display_server_android.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -310,9 +310,9 @@ void DisplayServerAndroid::window_set_drop_files_callback(const Callable &p_call
310310
void DisplayServerAndroid::_window_callback(const Callable &p_callable, const Variant &p_arg, bool p_deferred) const {
311311
if (!p_callable.is_null()) {
312312
if (p_deferred) {
313-
p_callable.call(p_arg);
314-
} else {
315313
p_callable.call_deferred(p_arg);
314+
} else {
315+
p_callable.call(p_arg);
316316
}
317317
}
318318
}

0 commit comments

Comments
 (0)