Patch by thyttan - compatible with themes

pull/3595/head
Brendan Sleight 2024-10-02 23:06:52 +01:00
parent aa85488155
commit 87a02e3b48
1 changed files with 2 additions and 3 deletions

View File

@ -191,9 +191,8 @@ function draw() {
var dateStr = wordsFromDayMonth(day, date, month);
// draw time
// TO DO: Set Theme
g.setBgColor("#000000");
g.setColor("#ffffff");
g.setBgColor(g.theme.bg);
g.setColor(g.theme.fg);
g.clear();
g.setFontAlign(0,0).setFont("Vector",24);
g.drawString(g.wrapString(timeStr, g.getWidth()).join("\n"),x,y-24*0);