Switched to SVG graphics for scalability

(cherry picked from commit 6cb43cac824d57e0ebafc3b00bb15104ff78d4be)
This commit is contained in:
Ashley M. Kirchner
2016-07-09 05:11:50 -06:00
parent 35ec98cf13
commit c1055234d8
22 changed files with 17 additions and 5 deletions

View File

@@ -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";