mirror of https://github.com/espruino/BangleApps
Health, supress bleed through of Showmenus when displaying barcharts, Toucher: Debugging default = false
parent
100384f2e8
commit
2b9ff26d85
|
@ -82,7 +82,7 @@
|
||||||
{
|
{
|
||||||
"id": "health",
|
"id": "health",
|
||||||
"name": "Health Tracking",
|
"name": "Health Tracking",
|
||||||
"version": "0.07",
|
"version": "0.08",
|
||||||
"description": "Logs health data and provides an app to view it (BETA - requires firmware 2v11)",
|
"description": "Logs health data and provides an app to view it (BETA - requires firmware 2v11)",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "tool,system,health",
|
"tags": "tool,system,health",
|
||||||
|
|
|
@ -6,3 +6,4 @@
|
||||||
0.05: Fix daily summary calculation
|
0.05: Fix daily summary calculation
|
||||||
0.06: Fix daily health summary for movement (a line got deleted!)
|
0.06: Fix daily health summary for movement (a line got deleted!)
|
||||||
0.07: Added coloured bar charts
|
0.07: Added coloured bar charts
|
||||||
|
0.08: Suppress bleed through of E.showMenu's when displaying bar charts
|
||||||
|
|
|
@ -236,6 +236,9 @@ Bangle.on('swipe', dir => {
|
||||||
|
|
||||||
// use setWatch() as Bangle.setUI("updown",..) interacts with swipes
|
// use setWatch() as Bangle.setUI("updown",..) interacts with swipes
|
||||||
function setButton(fn) {
|
function setButton(fn) {
|
||||||
|
// cancel callback, otherwise a slight up down movement will show the E.showMenu()
|
||||||
|
Bangle.setUI("updown", undefined);
|
||||||
|
|
||||||
if (process.env.HWVERSION == 1)
|
if (process.env.HWVERSION == 1)
|
||||||
btn = setWatch(fn, BTN2);
|
btn = setWatch(fn, BTN2);
|
||||||
else
|
else
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
highres: true,
|
highres: true,
|
||||||
animation : true,
|
animation : true,
|
||||||
frame : 3,
|
frame : 3,
|
||||||
debug: true
|
debug: false
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -56,4 +56,4 @@
|
||||||
},
|
},
|
||||||
'< Back': back
|
'< Back': back
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue