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__
|
#ifdef __ANDROID__
|
||||||
bool GameFormSpec::handleAndroidUIInput()
|
bool GameFormSpec::handleAndroidUIInput()
|
||||||
{
|
{
|
||||||
if (m_formspec) {
|
// FIXME: m_formspec and this value are not in sync at all times.
|
||||||
m_formspec->getAndroidUIInput();
|
GUIModalMenu *menu = g_menumgr.tryGetTopMenu();
|
||||||
|
if (menu) {
|
||||||
|
menu->getAndroidUIInput();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue