mirror of https://github.com/espruino/BangleApps
remove some comments
parent
39a9b2e3b4
commit
117a7aa552
|
@ -0,0 +1,2 @@
|
|||
0.1: Initial release
|
||||
0.2: Added more descriptive approximations
|
|
@ -87,6 +87,7 @@ const drawTime = () => {
|
|||
g.clear();
|
||||
g.reset();
|
||||
|
||||
//Build watch face
|
||||
g.setBgColor(0,0,0);
|
||||
g.clearRect(0, 0, width, height);
|
||||
g.setFont("Vector", 22);
|
||||
|
@ -114,18 +115,6 @@ Bangle.on('lcdPower', function(on){
|
|||
}
|
||||
});
|
||||
|
||||
//var secondInterval = setInterval(draw, 1000);
|
||||
// Stop updates when LCD is off, restart when on
|
||||
//Bangle.on('lcdPower',on=>{
|
||||
// if (secondInterval) clearInterval(secondInterval);
|
||||
// secondInterval = undefined;
|
||||
// if (on) {
|
||||
// secondInterval = setInterval(draw, 1000);
|
||||
// g.clear();
|
||||
// draw(); // draw immediately
|
||||
// }
|
||||
//});
|
||||
|
||||
// Show launcher when button pressed
|
||||
Bangle.setUI("clock");
|
||||
Bangle.loadWidgets();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{ "id": "approxclock",
|
||||
"name": "Approximate Clock",
|
||||
"shortName" : "Approx Clock",
|
||||
"version": "0.1",
|
||||
"version": "0.2",
|
||||
"icon": "app.png",
|
||||
"description": "A really basic spelled out time display for people looking for the vague time at a glance.",
|
||||
"type": "clock",
|
||||
|
|
Loading…
Reference in New Issue