master
kkayam 2025-01-22 18:00:06 +00:00
parent f8a7d6603b
commit bee7b7e0c7
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ function draw() {
// Draw the remaining portion
if (coloredChars < timeStr.length) {
g.setColor(g.theme.fg2);
g.setColor(g.theme.fg);
var remainingPart = timeStr.substring(coloredChars);
var remainingWidth = g.stringWidth(remainingPart);
g.drawString(remainingPart, x + (g.stringWidth(timeStr) / 2) - (remainingWidth / 2), y);