Ensure text is drawn with a black background
parent
04c08de89a
commit
9a82a2e1ee
|
|
@ -615,6 +615,7 @@ function tick(widgets) {
|
||||||
m = d.getMinutes();
|
m = d.getMinutes();
|
||||||
var time = (" " + h).substr(-2) + ":" + m.toString().padStart(2, 0);
|
var time = (" " + h).substr(-2) + ":" + m.toString().padStart(2, 0);
|
||||||
WHITE()
|
WHITE()
|
||||||
|
.setBgColor(0)
|
||||||
.setFontAlign(0, 0.5)
|
.setFontAlign(0, 0.5)
|
||||||
.setFont('6x8', 2)
|
.setFont('6x8', 2)
|
||||||
.drawString(time, 176 / 2, 176 - 16, true);
|
.drawString(time, 176 / 2, 176 - 16, true);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue