mirror of https://github.com/espruino/BangleApps
cpassist: work with different bgcolors
parent
d75940b9e6
commit
d241cebeb0
|
@ -42,7 +42,7 @@ function drawHeart() {
|
|||
}
|
||||
|
||||
function updateScreen() {
|
||||
const colors = [0xFFFF, 0x9492];
|
||||
const colors = [0xFFFF-g.getBgColor(), 0x9492];
|
||||
g.reset().clearRect(0, 0, 250, g.getHeight()*5/6);
|
||||
if (counter > 0) {
|
||||
g.setFont("Vector", 40).setFontAlign(0, 0);
|
||||
|
|
Loading…
Reference in New Issue