mirror of https://github.com/espruino/BangleApps
draw string
parent
5efc380b83
commit
4814120de6
|
@ -4680,7 +4680,7 @@
|
|||
"name": "Charging Status",
|
||||
"shortName":"ChargingStatus",
|
||||
"icon": "widget.png",
|
||||
"version":"0.1.9",
|
||||
"version":"0.1.10",
|
||||
"type": "widget",
|
||||
"description": "A simple widget that shows up whenever the watch starts charging.",
|
||||
"tags": "widget,battery",
|
||||
|
|
|
@ -18,9 +18,10 @@
|
|||
function draw() {
|
||||
g.reset();
|
||||
g.setColor("#FD0");
|
||||
g.setFontVector(16);
|
||||
//if (Bangle.isCharging()) {
|
||||
g.drawImage(chargingSymbol, this.x /* + 2 */ , this.y);
|
||||
//g.drawString('X',this.x,this.y)
|
||||
// g.drawImage(chargingIcon, this.x /* + 2 */ , this.y);
|
||||
g.drawString('X',this.x,this.y)
|
||||
//}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue