cpassist: work with different bgcolors

pull/1210/head
Adam Schmalhofer 2021-12-17 23:23:13 +01:00
parent d75940b9e6
commit d241cebeb0
1 changed files with 1 additions and 1 deletions

View File

@ -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);