Update app.js

added ability to toggle widgets by touchscreen
master
nomusictuesdays 2022-04-28 01:53:14 -07:00 committed by GitHub
parent 222a9ccdb4
commit c7f8527719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 9 deletions

View File

@ -15,13 +15,7 @@ function draw() {
var time = (""+h).substr(-2) + ":" + ("0"+m).substr(-2);
g.reset(); // Reset the state of the graphics library
g.clear();
g.drawImage(getImg());
g.setColor(1,1,1);
g.drawString(wizible, 10, 10, 0);
//g.drawImage(require("Storage").read("Tigger4.gif"));
g.drawImage(getImg()); //load bg image
//TIME
g.setFont("7x11Numeric7Seg",2);
g.setFontAlign(1,1);
@ -119,5 +113,3 @@ Bangle.on('touch', function(button) {
wizible=0;
}
});
//Bangle.drawWidgets();