# HG changeset patch # User Nicholas Jillings # Date 1498594260 -3600 # Node ID ba5fa3d301235251ec4904d3387495c08aa14a33 # Parent 47f187d4fc71dbfc4328674c3a3b56d4ed89353b Urgent hot_fix. Fix bug in ABX causing all value markers to be false. diff -r 47f187d4fc71 -r ba5fa3d30123 interfaces/ABX.js --- a/interfaces/ABX.js Mon Jun 26 11:58:59 2017 +0100 +++ b/interfaces/ABX.js Tue Jun 27 21:11:00 2017 +0100 @@ -238,9 +238,9 @@ $(".comparator-selector").removeClass('selected'); $(this.selector).addClass('selected'); interfaceContext.comparator.pair.forEach(function (obj) { - obj.value = 1.0 * obj === this; + obj.value = 1.0 * (obj === this); obj.parent.metric.moved(time, obj.value); - }); + }, this); console.log("Selected " + this.id + ' (' + time + ')'); }; this.playback.setAttribute("playstate", "ready");