Update widstep.wid.js
parent
702cd09f79
commit
ea95dbfbf4
|
|
@ -14,8 +14,8 @@ Bangle.on('lcdPower', function(on) {
|
||||||
WIDGETS["widstep"]={area:"tl", sortorder:-1, width:28,
|
WIDGETS["widstep"]={area:"tl", sortorder:-1, width:28,
|
||||||
draw:function() {
|
draw:function() {
|
||||||
if (!Bangle.isLCDOn()) return; // dont redraw if LCD is off
|
if (!Bangle.isLCDOn()) return; // dont redraw if LCD is off
|
||||||
//var steps = Bangle.getHealthStatus("day").steps;
|
var steps = Bangle.getHealthStatus("day").steps;
|
||||||
var steps = 5285;
|
//var steps = 5285;
|
||||||
g.reset();
|
g.reset();
|
||||||
g.setColor(g.theme.bg);
|
g.setColor(g.theme.bg);
|
||||||
g.fillRect(this.x, this.y, this.x + this.width, this.y + 23);
|
g.fillRect(this.x, this.y, this.x + this.width, this.y + 23);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue