From fd259dcde393134eaf05b61301e595d25a49f38f Mon Sep 17 00:00:00 2001 From: WerWolv Date: Wed, 1 Feb 2023 23:45:07 +0100 Subject: [PATCH] fix: Prevent native scaling from going below 1.0 on macOS --- main/source/init/splash_window.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/source/init/splash_window.cpp b/main/source/init/splash_window.cpp index 93bb20dda..f4da0d42d 100644 --- a/main/source/init/splash_window.cpp +++ b/main/source/init/splash_window.cpp @@ -205,7 +205,7 @@ namespace hex::init { meanScale = 1.0F; #if defined(OS_MACOS) - meanScale /= 2.0F; + meanScale = std::max(meanScale, 1.0F); #endif ImHexApi::System::impl::setGlobalScale(meanScale);