1
0
mirror of synced 2024-11-12 02:00:52 +01:00

fix: Window scaling defaulting to 1.0x instead of Native

This commit is contained in:
WerWolv 2024-05-17 09:26:28 +02:00
parent 85fa1b2122
commit 1426424899

View File

@ -106,7 +106,7 @@ namespace hex::plugin::builtin {
} }
bool configureUIScale() { bool configureUIScale() {
int interfaceScaleSetting = int(ContentRegistry::Settings::read<float>("hex.builtin.setting.interface", "hex.builtin.setting.interface.scaling_factor", 1.0F) * 10.0F); int interfaceScaleSetting = int(ContentRegistry::Settings::read<float>("hex.builtin.setting.interface", "hex.builtin.setting.interface.scaling_factor", 0.0F) * 10.0F);
float interfaceScaling; float interfaceScaling;
if (interfaceScaleSetting == 0) if (interfaceScaleSetting == 0)