Make sure text is drawn with the foreground color

pull/3156/head
Felipe Manga 2024-01-15 18:59:29 +00:00
parent d41ffac16b
commit 7633f9e275
1 changed files with 2 additions and 1 deletions

View File

@ -679,7 +679,8 @@ function tick(widgets) {
var h = d.getHours(),
m = d.getMinutes();
var time = (" " + h).substr(-2) + ":" + m.toString().padStart(2, 0);
g.setFontAlign(0, 0.5)
g.setColor(g.theme.fg)
.setFontAlign(0, 0.5)
.setFont('6x8', 2)
.drawString(time, 176 / 2, 176 - 16, true);