mirror of https://github.com/espruino/BangleApps
commit
b74bd390ec
|
@ -1,3 +1,4 @@
|
|||
0.01: Created
|
||||
0.02: Set sort order to -10 so always display in right hand corner
|
||||
0.03: Set sort order from the code
|
||||
0.04: fix vertical align
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"shortName":"Battery Theme",
|
||||
"icon": "widbata.png",
|
||||
"screenshots": [{"url":"screenshot_widbata_1.png"}],
|
||||
"version":"0.03",
|
||||
"version":"0.04",
|
||||
"type": "widget",
|
||||
"supports": ["BANGLEJS", "BANGLEJS2"],
|
||||
"readme": "README.md",
|
||||
|
|
|
@ -5,7 +5,7 @@ Bangle.on('lcdPower', function(on) {
|
|||
WIDGETS["bata"]={area:"tr",sortorder:-10,width:27,draw:function() {
|
||||
var s = 26;
|
||||
var t = 13; // thickness
|
||||
var x = this.x, y = this.y;
|
||||
var x = this.x, y = this.y + 5;
|
||||
g.reset();
|
||||
g.setColor(g.theme.fg);
|
||||
g.fillRect(x,y+2,x+s-4,y+2+t); // outer
|
||||
|
|
Loading…
Reference in New Issue