From 8bb0bd05f9f3a0ff46a06f6bd4328d04479c2b18 Mon Sep 17 00:00:00 2001 From: Flyinghead Date: Sun, 16 Jan 2022 09:58:33 +0100 Subject: [PATCH] ui: limit scaling further on small low-resolution screens (retroid) --- core/rend/gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/rend/gui.cpp b/core/rend/gui.cpp index a103c7315..a49274148 100644 --- a/core/rend/gui.cpp +++ b/core/rend/gui.cpp @@ -157,7 +157,7 @@ void gui_init() scaling = std::max(1.f, screen_dpi / 100.f * 0.75f); // Limit scaling on small low-res screens if (settings.display.width <= 640 || settings.display.height <= 480) - scaling = std::min(1.4f, scaling); + scaling = std::min(1.2f, scaling); #endif if (scaling > 1) ImGui::GetStyle().ScaleAllSizes(scaling);