0.79: Ensure that tapping on pressure/altitude doesn't cause a menu to display temporarily
parent
eb937a6f67
commit
be50617d11
|
|
@ -87,3 +87,4 @@ of 'Select Clock'
|
|||
0.76: Add altitude calibration menu (and update README after menu changed)
|
||||
0.77: Save altitude calibration when user exits via reset
|
||||
0.78: Fix menu scroll restore on BangleJS1
|
||||
0.79: Ensure that tapping on pressure/altitude doesn't cause a menu to display temporarily
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "setting",
|
||||
"name": "Settings",
|
||||
"version": "0.78",
|
||||
"version": "0.79",
|
||||
"description": "A menu for setting up Bangle.js",
|
||||
"icon": "settings.png",
|
||||
"tags": "tool,system",
|
||||
|
|
|
|||
|
|
@ -1033,8 +1033,8 @@ function showTouchscreenCalibration() {
|
|||
// Calibrate altitude - Bangle.js2 only
|
||||
function showAltitude() {
|
||||
function onPressure(pressure) {
|
||||
menuPressure.value = Math.round(pressure.pressure);
|
||||
menuAltitude.value = Math.round(pressure.altitude);
|
||||
menuPressure.value = Math.round(pressure.pressure).toString(); // toString stops tapping on the item bringing up an adjustment menu
|
||||
menuAltitude.value = Math.round(pressure.altitude).toString();
|
||||
m.draw();
|
||||
}
|
||||
function altitudeDone() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue