Health, supress bleed through of Showmenus when displaying barcharts, Toucher: Debugging default = false

pull/923/head
hughbarney 2021-11-21 22:03:23 +00:00
parent 100384f2e8
commit 2b9ff26d85
4 changed files with 7 additions and 3 deletions

View File

@ -82,7 +82,7 @@
{
"id": "health",
"name": "Health Tracking",
"version": "0.07",
"version": "0.08",
"description": "Logs health data and provides an app to view it (BETA - requires firmware 2v11)",
"icon": "app.png",
"tags": "tool,system,health",

View File

@ -6,3 +6,4 @@
0.05: Fix daily summary calculation
0.06: Fix daily health summary for movement (a line got deleted!)
0.07: Added coloured bar charts
0.08: Suppress bleed through of E.showMenu's when displaying bar charts

View File

@ -236,6 +236,9 @@ Bangle.on('swipe', dir => {
// use setWatch() as Bangle.setUI("updown",..) interacts with swipes
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)
btn = setWatch(fn, BTN2);
else

View File

@ -9,7 +9,7 @@
highres: true,
animation : true,
frame : 3,
debug: true
debug: false
};
}
@ -56,4 +56,4 @@
},
'< Back': back
});
});
});