Skip to content

Commit

Permalink
Update app.js
Browse files Browse the repository at this point in the history
  • Loading branch information
miseler authored May 6, 2024
1 parent 8117857 commit 0b202b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/infoclk/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,11 +351,11 @@
// Otherwise, use the seconds area
else {
//let string = getDayString(now) + ' ' + getDateString(now);
require("Font6x12").add(Graphics);
//require("Font6x12").add(Graphics);
let string = getWeatherString();
g.clearRect(0, SECONDS_TOP, g.getWidth(), SECONDS_TOP + DIGIT_HEIGHT)
//.setFont('Vector', getFontSize(string.length, g.getWidth(), 6, DATE_LETTER_HEIGHT))
.setFont('6x12',2)
.setFont('6x12:2')
.drawString(string, g.getWidth() / 2, DOW_DATE_CENTER_Y);
}

Expand Down

0 comments on commit 0b202b3

Please sign in to comment.