mirror of https://github.com/WerWolv/ImHex.git
fix: Prevent native scaling from going below 1.0 on macOS
This commit is contained in:
parent
79ecf7fa59
commit
fd259dcde3
|
@ -205,7 +205,7 @@ namespace hex::init {
|
||||||
meanScale = 1.0F;
|
meanScale = 1.0F;
|
||||||
|
|
||||||
#if defined(OS_MACOS)
|
#if defined(OS_MACOS)
|
||||||
meanScale /= 2.0F;
|
meanScale = std::max(meanScale, 1.0F);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
ImHexApi::System::impl::setGlobalScale(meanScale);
|
ImHexApi::System::impl::setGlobalScale(meanScale);
|
||||||
|
|
Loading…
Reference in New Issue