mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-08-21 12:55:22 +00:00
Switched to SVG graphics for scalability
(cherry picked from commit 6cb43cac824d57e0ebafc3b00bb15104ff78d4be)
This commit is contained in:
@@ -122,7 +122,7 @@ Module.register("clock",{
|
||||
clockCircle.style.height = this.config.analogSize;
|
||||
|
||||
if ((this.config.analogFace != '' || this.config.analogFace != false) && this.config.analogFace !== 'none') {
|
||||
clockCircle.style.background = "url("+ this.data.path + "/faces/" + this.config.analogFace + ".png)"
|
||||
clockCircle.style.background = "url("+ this.data.path + "/faces/" + this.config.analogFace + ".svg)"
|
||||
clockCircle.style.backgroundSize = "100%";
|
||||
} else if (this.config.analogFace != 'none') {
|
||||
clockCircle.style.border = "5px double white";
|
||||
|
Reference in New Issue
Block a user