Skip to content

Commit

Permalink
Solve issue: #611
Browse files Browse the repository at this point in the history
  • Loading branch information
MichMich committed Jan 15, 2017
1 parent 2f7be05 commit 949f758
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/default/clock/clock.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,10 @@ Module.register("clock",{
if (this.config.analogFace != "" && this.config.analogFace != "simple" && this.config.analogFace != "none") {
clockCircle.style.background = "url("+ this.data.path + "faces/" + this.config.analogFace + ".svg)";
clockCircle.style.backgroundSize = "100%";

// The following line solves issue: https://github.com/MichMich/MagicMirror/issues/611
clockCircle.style.border = "1px solid black";

} else if (this.config.analogFace != "none") {
clockCircle.style.border = "2px solid white";
}
Expand Down

0 comments on commit 949f758

Please sign in to comment.