diff options
-rw-r--r-- | app/index.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/index.js b/app/index.js index 50e4f36..c066693 100644 --- a/app/index.js +++ b/app/index.js @@ -104,10 +104,14 @@ function applyTheme(background, foreground) { } function setHours(val) { + hours1.style.opacity = 1; if (val > 9) { drawNumeral(Math.floor(val / 10), hours1); } else { - drawNumeral("", hours1); + drawNumeral(0, hours1); + if (preferences.clockDisplay === "12h") { + hours1.style.opacity = 0.2; + } } drawNumeral(Math.floor(val % 10), hours2); } |