mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
fix: Fonts being scaled twice as big by default on macOS
This commit is contained in:
@@ -1212,7 +1212,7 @@ namespace hex {
|
||||
}
|
||||
|
||||
float getDpi() {
|
||||
auto dpi = ImHexApi::System::getNativeScale() * ImHexApi::System::getBackingScaleFactor() * 96.0F;
|
||||
auto dpi = ImHexApi::System::getNativeScale() * 96.0F;
|
||||
return dpi ? dpi : 96.0F;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user