Mercurial > hg > webaudioevaluationtool
changeset 2835:ba5fa3d30123
Urgent hot_fix. Fix bug in ABX causing all value markers to be false.
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Tue, 27 Jun 2017 21:11:00 +0100 |
parents | 47f187d4fc71 |
children | e61531ce764f 446f344eaa50 |
files | interfaces/ABX.js |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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");