Ensure text is drawn with a black background

master
Felipe Manga 2024-01-15 17:43:05 +00:00
parent 04c08de89a
commit 9a82a2e1ee
1 changed files with 1 additions and 0 deletions

View File

@ -615,6 +615,7 @@ function tick(widgets) {
m = d.getMinutes();
var time = (" " + h).substr(-2) + ":" + m.toString().padStart(2, 0);
WHITE()
.setBgColor(0)
.setFontAlign(0, 0.5)
.setFont('6x8', 2)
.drawString(time, 176 / 2, 176 - 16, true);