Merge pull request #83301 from Alex2782/touch_screen_button_physics_process

Fix Android logic for deferred window input events being inverted
This commit is contained in:
Rémi Verschelde 2023-10-24 10:54:00 +02:00
commit 4ec07ffb44
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -310,9 +310,9 @@ void DisplayServerAndroid::window_set_drop_files_callback(const Callable &p_call
void DisplayServerAndroid::_window_callback(const Callable &p_callable, const Variant &p_arg, bool p_deferred) const {
if (!p_callable.is_null()) {
if (p_deferred) {
p_callable.call(p_arg);
} else {
p_callable.call_deferred(p_arg);
} else {
p_callable.call(p_arg);
}
}
}