impr: Use 1.0x scaling by default
This commit is contained in:
parent
f36d9831bb
commit
f9b778ecb8
@ -98,7 +98,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", 0.0F) * 10.0F);
|
int interfaceScaleSetting = int(ContentRegistry::Settings::read<float>("hex.builtin.setting.interface", "hex.builtin.setting.interface.scaling_factor", 1.0F) * 10.0F);
|
||||||
|
|
||||||
float interfaceScaling;
|
float interfaceScaling;
|
||||||
if (interfaceScaleSetting == 0)
|
if (interfaceScaleSetting == 0)
|
||||||
|
@ -197,7 +197,7 @@ namespace hex::plugin::builtin {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
float m_value = 0;
|
float m_value = 1.0F;
|
||||||
};
|
};
|
||||||
|
|
||||||
class AutoBackupWidget : public ContentRegistry::Settings::Widgets::Widget {
|
class AutoBackupWidget : public ContentRegistry::Settings::Widgets::Widget {
|
||||||
|
Loading…
Reference in New Issue
Block a user