1
0
mirror of synced 2024-12-01 02:37:18 +01:00

impr: Use 1.0x scaling by default

This commit is contained in:
WerWolv 2024-06-22 11:25:07 +02:00
parent f36d9831bb
commit f9b778ecb8
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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 {