locale independent util::parse_double

This commit is contained in:
MihailRis
2024-02-02 20:02:30 +03:00
parent 84e8fd1af6
commit bc72742ee3
20 changed files with 140 additions and 48 deletions
+1 -1
View File
@@ -584,7 +584,7 @@ void create_settings_panel(Engine* engine) {
langs::get(L"Backlight", L"settings"), vec2(400, 32)
);
checkbox->supplier([=]() {
return engine->getSettings().graphics.backlight != 0;
return engine->getSettings().graphics.backlight;
});
checkbox->consumer([=](bool checked) {
engine->getSettings().graphics.backlight = checked;