mirror of https://github.com/espruino/BangleApps
[lightswitch] - Update widget.js to use g.getBgColor for inner bulb when off
parent
65d4b410ff
commit
8c912f44e5
|
@ -57,7 +57,8 @@
|
|||
);
|
||||
} else {
|
||||
// backlight off
|
||||
g.setColor(0);
|
||||
let innerColorWhenOff = g.getBgColor();
|
||||
g.setColor(innerColorWhenOff);
|
||||
}
|
||||
// draw circle
|
||||
g.drawImage(atob("CwuBAB8H8f9/////////f8fwfAA="), this.x + 6, this.y + 6);
|
||||
|
|
Loading…
Reference in New Issue