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.76: Add altitude calibration menu (and update README after menu changed)
|
||||||
0.77: Save altitude calibration when user exits via reset
|
0.77: Save altitude calibration when user exits via reset
|
||||||
0.78: Fix menu scroll restore on BangleJS1
|
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",
|
"id": "setting",
|
||||||
"name": "Settings",
|
"name": "Settings",
|
||||||
"version": "0.78",
|
"version": "0.79",
|
||||||
"description": "A menu for setting up Bangle.js",
|
"description": "A menu for setting up Bangle.js",
|
||||||
"icon": "settings.png",
|
"icon": "settings.png",
|
||||||
"tags": "tool,system",
|
"tags": "tool,system",
|
||||||
|
|
|
||||||
|
|
@ -1033,8 +1033,8 @@ function showTouchscreenCalibration() {
|
||||||
// Calibrate altitude - Bangle.js2 only
|
// Calibrate altitude - Bangle.js2 only
|
||||||
function showAltitude() {
|
function showAltitude() {
|
||||||
function onPressure(pressure) {
|
function onPressure(pressure) {
|
||||||
menuPressure.value = Math.round(pressure.pressure);
|
menuPressure.value = Math.round(pressure.pressure).toString(); // toString stops tapping on the item bringing up an adjustment menu
|
||||||
menuAltitude.value = Math.round(pressure.altitude);
|
menuAltitude.value = Math.round(pressure.altitude).toString();
|
||||||
m.draw();
|
m.draw();
|
||||||
}
|
}
|
||||||
function altitudeDone() {
|
function altitudeDone() {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue