mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-12 16:15:20 +02:00
Android: Workaround for partially broken inputs
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user