change to bg2

master
kkayam 2025-01-22 17:38:42 +00:00
parent 507b972c07
commit 63dcb67e3f
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ function draw() {
// Draw the colored portion first // Draw the colored portion first
if (coloredChars > 0) { if (coloredChars > 0) {
g.setColor(g.theme.fg2); g.setColor(g.theme.bg2);
var coloredPart = timeStr.substring(0, coloredChars); var coloredPart = timeStr.substring(0, coloredChars);
var coloredWidth = g.stringWidth(coloredPart); var coloredWidth = g.stringWidth(coloredPart);
g.drawString(coloredPart, x - (g.stringWidth(timeStr) / 2) + (coloredWidth / 2), y); g.drawString(coloredPart, x - (g.stringWidth(timeStr) / 2) + (coloredWidth / 2), y);