updated simplest clock to clear rect first

pull/682/head
hughbarney 2021-03-06 12:37:54 +00:00
parent f03c24321f
commit 2988266b43
1 changed files with 1 additions and 0 deletions

View File

@ -5,6 +5,7 @@ function draw() {
var time = da[4].substr(0,5); var time = da[4].substr(0,5);
g.reset(); g.reset();
g.clearRect(0, 30, 239, 99);
g.setFontAlign(0, -1); g.setFontAlign(0, -1);
g.setFont("Vector", 80); g.setFont("Vector", 80);
g.drawString(time, 120, 40); g.drawString(time, 120, 40);