ensure clockinfo text is usppercase (font doesn't render lowercase)

pull/2757/head^2
Gordon Williams 2023-05-17 10:37:27 +01:00
parent 1d7d9e2962
commit 5f715b7f78
2 changed files with 3 additions and 2 deletions

View File

@ -1,2 +1,3 @@
0.01: First release
0.02: clock_info now uses app name to maintain settings specifically for this clock face
ensure clockinfo text is usppercase (font doesn't render lowercase)

View File

@ -86,7 +86,7 @@ let clockInfoDraw = (itm, info, options) => {
}
}
g.setFontLECO1976Regular22().setFontAlign(0, 0);
g.drawString(info.text, midx,options.y+options.h-12); // draw the text
g.drawString(info.text.toString().toUpperCase(), midx,options.y+options.h-12); // draw the text
};
let clockInfoMenuA = require("clock_info").addInteractive(clockInfoItems, {