mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Android: Implement Autohiding button bars to cleanup screen
This commit is contained in:
@@ -2173,7 +2173,7 @@ bool Game::initGui()
|
||||
#ifdef HAVE_TOUCHSCREENGUI
|
||||
|
||||
if (g_touchscreengui)
|
||||
g_touchscreengui->init(texture_src, porting::getDisplayDensity());
|
||||
g_touchscreengui->init(texture_src);
|
||||
|
||||
#endif
|
||||
|
||||
@@ -2570,7 +2570,7 @@ void Game::processUserInput(VolatileRunFlags *flags,
|
||||
|| guienv->hasFocus(gui_chat_console)) {
|
||||
input->clear();
|
||||
#ifdef HAVE_TOUCHSCREENGUI
|
||||
g_touchscreengui->Hide();
|
||||
g_touchscreengui->hide();
|
||||
#endif
|
||||
}
|
||||
#ifdef HAVE_TOUCHSCREENGUI
|
||||
|
Reference in New Issue
Block a user