From af6d7d7d29ade80f3b18bce138ff1bba6b0f93d2 Mon Sep 17 00:00:00 2001 From: William Toohey Date: Sat, 16 Jan 2016 23:17:51 +1000 Subject: [PATCH] Fix light recolour on : --- css/hues-x.css | 1 + js/HuesUI.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/css/hues-x.css b/css/hues-x.css index 1ccae8a..d281c5d 100644 --- a/css/hues-x.css +++ b/css/hues-x.css @@ -30,6 +30,7 @@ transform-origin: 32px 69px; -webkit-transform-origin: 32px 69px; background-image: url("../img/lightbase.png"); + background-repeat: no-repeat; } .hues-x-fade{ diff --git a/js/HuesUI.js b/js/HuesUI.js index 9ed8564..a89d1d4 100644 --- a/js/HuesUI.js +++ b/js/HuesUI.js @@ -918,7 +918,7 @@ XmasUI.prototype.beat = function(beats, index) { if(this.currentBeat != ".") { this.lights.forEach(function(light, i, a) { switch(this.currentBeat) { - case ": ": + case ":": this.lightOn(light); this.lightRecolour(light); break;