fix coloring issue from GPS widget
parent
2b94bdea41
commit
c373c3150f
|
|
@ -137,9 +137,10 @@
|
|||
{ "id": "clck3x2",
|
||||
"name": "3x2 Pixel Clock",
|
||||
"icon": "clock3x2.png",
|
||||
"version":"0.02",
|
||||
"version":"0.03",
|
||||
"description": "This is a simple clock using minimalistic 3x2 pixel numerical digits",
|
||||
"tags": "clock",
|
||||
"allow_emulator":true,
|
||||
"storage": [
|
||||
{"name":"+clck3x2","url":"clock3x2.json"},
|
||||
{"name":"-clck3x2","url":"clock3x2.js"},
|
||||
|
|
|
|||
|
|
@ -1 +1,2 @@
|
|||
0.02: Modified for use with new bootloader and firmware
|
||||
0.03: Added 'reset' so we don't get the font color from widgets
|
||||
|
|
|
|||
|
|
@ -57,9 +57,9 @@ const pixels = [[[0,0], // digit on/off pixels
|
|||
let idTimeout = null;
|
||||
|
||||
function drawTime() {
|
||||
g.clear();
|
||||
g.clear(1);
|
||||
Bangle.drawWidgets();
|
||||
|
||||
g.reset();
|
||||
let d = Date();
|
||||
let h = d.getHours();
|
||||
let m = d.getMinutes();
|
||||
|
|
|
|||
|
|
@ -32,6 +32,7 @@
|
|||
}
|
||||
}
|
||||
g.drawString("GPS",xpos+12,12);
|
||||
g.setColor(-1); // change color back to be nice to other apps
|
||||
}
|
||||
|
||||
function onGPS(fix) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue