Update widalt.settings.js

pull/2070/head
xxDUxx 2022-08-02 16:15:40 +02:00 committed by GitHub
parent 9fb6c1b36f
commit 826064bfc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@
"" : { "title" : "Altimeter Widget" },
"< Back" : () => back(),
'QNH: ': {
value: 1013 | o.seaLevelPressure, // 0| converts undefined to 0
value: o.seaLevelPressure,
min: 100, max: 10000,
format: v=>(v+"hPa\nAlt: "+(44330 * (1.0 - Math.pow(p.pressure/v, 0.1903))).toFixed(0)+"m"),
onchange: v => {