app: clear pixels between characters
This commit is contained in:
parent
86fa08cb91
commit
3f18fef34c
@ -271,7 +271,11 @@ static void matrix_puts(bool ws, int16_t x, int16_t y, const char* str, enum fon
|
||||
if (x + fonts[font].width >= 0) {
|
||||
matrix_putc(ws, x, y, str[i], font, red, green, blue);
|
||||
}
|
||||
x += fonts[font].width + 1;
|
||||
x += fonts[font].width;
|
||||
for (uint8_t pix_y = y; pix_y < y + fonts[font].height; pix_y++) {
|
||||
matrix_set(ws, x, pix_y, false, false, false);
|
||||
}
|
||||
x += 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user