diff --git a/src/gui/guiKeyChangeMenu.cpp b/src/gui/guiKeyChangeMenu.cpp index 6bf07b231..de1b2e6a3 100644 --- a/src/gui/guiKeyChangeMenu.cpp +++ b/src/gui/guiKeyChangeMenu.cpp @@ -120,7 +120,9 @@ void GUIKeyChangeMenu::regenerateGui(v2u32 screensize) { removeChildren(); -#if defined(__MACH__) && defined(__APPLE__) && !defined(__IOS__) +#if defined(__ANDROID__) || defined(__IOS__) + const float s = m_gui_scale * RenderingEngine::getDisplayDensity() / 2; +#elif defined(__MACH__) && defined(__APPLE__) && !defined(__IOS__) const float s = m_gui_scale * RenderingEngine::getDisplayDensity() * 1.5; #else const float s = m_gui_scale;