tweak and align HRM min/max defaults, change allowed min/max interval in settings

pull/2620/head
thyttan 2023-02-28 20:20:16 +01:00
parent 8459a2e529
commit d5c85f1654
2 changed files with 5 additions and 5 deletions

View File

@ -44,8 +44,8 @@ let settings = Object.assign({
},
},
HRM: {
min: 65,
max: 170,
min: 55,
max: 185,
},
}, require("Storage").readJSON("runplus.json", 1) || {});
let statIDs = [settings.B1,settings.B2,settings.B3,settings.B4,settings.B5,settings.B6].filter(s=>s!=="");

View File

@ -32,8 +32,8 @@
},
},
HRM: {
min: 65,
max: 165,
min: 55,
max: 185,
},
}, storage.readJSON(SETTINGS_FILE, 1) || {});
function saveSettings() {
@ -145,7 +145,7 @@
},
}
hrmMenu[/*LANG*/"max"] = {
min: 120, max: 190,
min: 101, max: 220,
value: settings.HRM.max,
format: v => v,
onchange: v => {