Fix Android logic for deferred window input events being inverted
Notably fixes issues with `is_action_just_*` queries in `_physics_process`
for TouchScreenButton.
Fixes #66318.
Fixes #82396.
(cherry picked from commit 5137497c18
)
This commit is contained in:
parent
d73b76da02
commit
3d8c77dc92
|
@ -299,9 +299,9 @@ void DisplayServerAndroid::_window_callback(const Callable &p_callable, const Va
|
|||
Variant ret;
|
||||
Callable::CallError ce;
|
||||
if (p_deferred) {
|
||||
p_callable.callp((const Variant **)&argp, 1, ret, ce);
|
||||
} else {
|
||||
p_callable.call_deferredp((const Variant **)&argp, 1);
|
||||
} else {
|
||||
p_callable.callp((const Variant **)&argp, 1, ret, ce);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue