mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-06 17:41:04 +00:00
Android: Workaround for partially broken inputs
This commit is contained in:
parent
0deee5eaf0
commit
7345b54f18
1 changed files with 4 additions and 2 deletions
|
@ -563,8 +563,10 @@ bool GameFormSpec::handleCallbacks()
|
|||
#ifdef __ANDROID__
|
||||
bool GameFormSpec::handleAndroidUIInput()
|
||||
{
|
||||
if (m_formspec) {
|
||||
m_formspec->getAndroidUIInput();
|
||||
// FIXME: m_formspec and this value are not in sync at all times.
|
||||
GUIModalMenu *menu = g_menumgr.tryGetTopMenu();
|
||||
if (menu) {
|
||||
menu->getAndroidUIInput();
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue