fix: Wrong native scaling on Wayland

This commit is contained in:
WerWolv
2025-02-16 21:55:38 +01:00
parent 983be04722
commit 1ed56c1b1d

View File

@@ -492,7 +492,9 @@ namespace hex::init {
meanScale = 1.0F;
#endif
meanScale /= hex::ImHexApi::System::getBackingScaleFactor();
#if !defined(OS_LINUX)
meanScale /= hex::ImHexApi::System::getBackingScaleFactor();
#endif
ImHexApi::System::impl::setGlobalScale(meanScale);
ImHexApi::System::impl::setNativeScale(meanScale);