forked from FOSS/BangleApps
Make : between hours and minutes flash
Flash the : separator; even seconds off, odd seconds onmaster
parent
6b09377414
commit
7e92aba454
|
@ -45,7 +45,8 @@ function draw() {
|
||||||
cg.setFontAlign(1,-1);
|
cg.setFontAlign(1,-1);
|
||||||
cg.drawString(hours, x, 0);
|
cg.drawString(hours, x, 0);
|
||||||
x+=2;
|
x+=2;
|
||||||
cg.fillRect(x, 10, x+2, 10+2).fillRect(x, 20, x+2, 20+2);
|
if (t.getSeconds() & 1)
|
||||||
|
cg.fillRect(x, 10, x+2, 10+2).fillRect(x, 20, x+2, 20+2);
|
||||||
x+=6;
|
x+=6;
|
||||||
cg.setFontAlign(-1,-1);
|
cg.setFontAlign(-1,-1);
|
||||||
cg.drawString(("0"+t.getMinutes()).substr(-2), x, 0);
|
cg.drawString(("0"+t.getMinutes()).substr(-2), x, 0);
|
||||||
|
|
Loading…
Reference in New Issue