1
0
Fork 0

Minor design improvements

master
David Peer 2022-04-02 14:43:27 +02:00
parent 280d5d1a88
commit 5781d4a716
3 changed files with 4 additions and 4 deletions

View File

@ -149,12 +149,12 @@ function draw() {
g.setLargeFont();
var dateStr = date.getDate();
dateStr = ("0" + dateStr).substr(-2);
g.drawString(dateStr, W/2, y+3);
g.drawString(dateStr, W/2-2, y+3);
g.setSmallFont();
g.setFontAlign(-1,1);
g.drawString(locale.dow(date, true), W/2 + 5, y-22);
g.drawString(locale.month(date, 1), W/2 + 5, y);
g.drawString(locale.dow(date, true), W/2 + 10, y-23);
g.drawString(locale.month(date, 1), W/2 + 10, y+1);
// Draw time
g.setColor("#fff");

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB