fix(large clock): font size

master
Francesco Bedussi 2021-02-05 22:47:32 +01:00
parent 19a2f80e5c
commit 1efadb816d
2 changed files with 4 additions and 3 deletions

View File

@ -5,3 +5,4 @@
0.05: Add support for 12 hour time
0.06: Allow to disable BTN1 and BTN3 buttons
0.07: Don't clear all intervals during initialisation
0.08: fix font size

View File

@ -140,13 +140,13 @@ function drawTime(d) {
g.clearRect(0, 24, moonX - moonR - 10, 239);
g.setColor(1, 1, 1);
g.setFontAlign(-1, -1);
g.setFont("Vector", 100);
g.setFont("Vector", 130);
g.drawString(hours, 40, 24, true);
g.setColor(1, 50, 1);
g.drawString(minutes, 40, 135, true);
g.drawString(minutes, 40, 130, true);
g.setFont("Vector", 20);
g.setRotation(3);
g.drawString(`${dow} ${day} ${month}`, 50, 10, true);
g.drawString(`${dow} ${day} ${month}`, 60, 10, true);
g.drawString(year, is12Hour ? 46 : 75, 205, true);
lastMinutes = minutes;
}