diff options
Diffstat (limited to 'src/gui/modalMenu.cpp')
-rw-r--r-- | src/gui/modalMenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/modalMenu.cpp b/src/gui/modalMenu.cpp index 172eb11e6..cfc4d5c5a 100644 --- a/src/gui/modalMenu.cpp +++ b/src/gui/modalMenu.cpp @@ -40,7 +40,7 @@ GUIModalMenu::GUIModalMenu(gui::IGUIEnvironment* env, gui::IGUIElement* parent, m_menumgr(menumgr), m_remap_dbl_click(remap_dbl_click) { - m_gui_scale = g_settings->getFloat("gui_scaling"); + m_gui_scale = std::max(g_settings->getFloat("gui_scaling"), 0.5f); #ifdef HAVE_TOUCHSCREENGUI float d = RenderingEngine::getDisplayDensity(); m_gui_scale *= 1.1 - 0.3 * d + 0.2 * d * d; |