fix: Window scaling defaulting to 1.0x instead of Native
This commit is contained in:
parent
85fa1b2122
commit
1426424899
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user