parent
09bd9bb252
commit
f59f2872e6
|
|
@ -8,7 +8,6 @@ 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;
|
||||||
print('draw', wsSettingsGoal, steps);
|
|
||||||
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