use fg2
parent
5f3f408630
commit
f8a7d6603b
|
|
@ -62,7 +62,7 @@ function draw() {
|
||||||
|
|
||||||
// Draw the remaining portion
|
// Draw the remaining portion
|
||||||
if (coloredChars < timeStr.length) {
|
if (coloredChars < timeStr.length) {
|
||||||
g.setColor(g.theme.fg);
|
g.setColor(g.theme.fg2);
|
||||||
var remainingPart = timeStr.substring(coloredChars);
|
var remainingPart = timeStr.substring(coloredChars);
|
||||||
var remainingWidth = g.stringWidth(remainingPart);
|
var remainingWidth = g.stringWidth(remainingPart);
|
||||||
g.drawString(remainingPart, x + (g.stringWidth(timeStr) / 2) - (remainingWidth / 2), y);
|
g.drawString(remainingPart, x + (g.stringWidth(timeStr) / 2) - (remainingWidth / 2), y);
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
"id": "onewordclock",
|
"id": "onewordclock",
|
||||||
"name": "One Word Clock",
|
"name": "One Word Clock",
|
||||||
"shortName": "One Word",
|
"shortName": "One Word",
|
||||||
"version": "0.6",
|
"version": "0.7",
|
||||||
"description": "A unique clock that displays a single evocative word for each hour of the day",
|
"description": "A unique clock that displays a single evocative word for each hour of the day",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "clock",
|
"tags": "clock",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue