Update app.js
parent
53956667b8
commit
222a9ccdb4
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue