Skip to content

Commit

Permalink
Merge pull request #83301 from Alex2782/touch_screen_button_physics_p…
Browse files Browse the repository at this point in the history
…rocess

Fix Android logic for deferred window input events being inverted
  • Loading branch information
akien-mga committed Oct 24, 2023
2 parents 64f8029 + 5137497 commit 4ec07ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions platform/android/display_server_android.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
}
Expand Down

0 comments on commit 4ec07ff

Please sign in to comment.