attempt to draw icon again
parent
772d0a8724
commit
4e4cc3e930
|
|
@ -4680,7 +4680,7 @@
|
||||||
"name": "Charging Status",
|
"name": "Charging Status",
|
||||||
"shortName":"ChargingStatus",
|
"shortName":"ChargingStatus",
|
||||||
"icon": "widget.png",
|
"icon": "widget.png",
|
||||||
"version":"0.1.7",
|
"version":"0.1.8",
|
||||||
"type": "widget",
|
"type": "widget",
|
||||||
"description": "A simple widget that shows up whenever the watch starts charging.",
|
"description": "A simple widget that shows up whenever the watch starts charging.",
|
||||||
"tags": "widget,battery",
|
"tags": "widget,battery",
|
||||||
|
|
|
||||||
|
|
@ -17,10 +17,10 @@
|
||||||
|
|
||||||
function draw() {
|
function draw() {
|
||||||
g.reset();
|
g.reset();
|
||||||
g.setColor("#FD0");
|
//g.setColor("#FD0");
|
||||||
//if (Bangle.isCharging()) {
|
//if (Bangle.isCharging()) {
|
||||||
// g.drawImage(chargingSymbol, this.x + 2, this.y);
|
g.drawImage(chargingSymbol, this.x /* + 2 */ , this.y);
|
||||||
g.drawString('X',this.x,this.y)
|
//g.drawString('X',this.x,this.y)
|
||||||
//}
|
//}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue