Update app.js

master
nomusictuesdays 2022-04-28 01:40:37 -07:00 committed by GitHub
parent 53956667b8
commit 222a9ccdb4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -87,6 +87,9 @@ function draw() {
g.setColor(0,0,0); g.setColor(0,0,0);
g.drawString("SA", 136, 42, 0); g.drawString("SA", 136, 42, 0);
} }
if(wizible==1){
Bangle.drawWidgets();
}
} }
// Clear the screen once, at startup // Clear the screen once, at startup
@ -111,7 +114,6 @@ Bangle.loadWidgets();
Bangle.on('touch', function(button) { Bangle.on('touch', function(button) {
if(wizible==0){ if(wizible==0){
wizible=1; wizible=1;
Bangle.drawWidgets();
} }
else if(wizible==1){ else if(wizible==1){
wizible=0; wizible=0;