fix: Prevent native scaling from going below 1.0 on macOS

This commit is contained in:
WerWolv 2023-02-01 23:45:07 +01:00
parent 79ecf7fa59
commit fd259dcde3
1 changed files with 1 additions and 1 deletions

View File

@ -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);