Add files via upload

pull/2565/head
CarlR9 2023-02-04 16:05:00 +13:00 committed by GitHub
parent 230baf7b24
commit aedac6a429
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 395 additions and 396 deletions

View File

@ -1,2 +1,2 @@
0.01: 3/Feb/2023 Added 'Temperature Graph' app to depository.
0.02: 4/Feb/2023 Rewrote the widget handling after discovering there's a 'widget_utils' module to properly hide and show them.

View File

@ -3,7 +3,6 @@
Bangle.setBarometerPower(true,"tempgraph");
Bangle.loadWidgets();
var wids=WIDGETS;
var widsOn=true;
var rm=null;
var gt=null;
@ -50,10 +49,10 @@ var duration=times[durInd];
function drawWids(){
g.clear();
if(widsOn){
WIDGETS=wids;
Bangle.drawWidgets();
require("widget_utils").show();
} else {
WIDGETS={};
require("widget_utils").hide();
}
}