# HG changeset patch # User Nicholas Jillings # Date 1509443895 0 # Node ID aa1ceca0451945d7c06dd04203ef85a48fae50fd # Parent 1b28c30b8c2027350d9391a34da1490160ce1b5a# Parent 7d1a34b5a4d28976ac792d0e5bb1d5468efed513 Merge branch 'master' into vnext diff -r 1b28c30b8c20 -r aa1ceca04519 js/core.js --- a/js/core.js Mon Oct 30 15:36:34 2017 +0000 +++ b/js/core.js Tue Oct 31 09:58:15 2017 +0000 @@ -3025,12 +3025,13 @@ volume.slider.value = 0; volume.slider.step = 1; volume.handleEvent = function (event) { - if (event.type == "mousemove") { + if (event.type == "mousemove" || event.type == "mouseup") { this.valueDB = Number(this.slider.value); this.valueLin = decibelToLinear(this.valueDB); this.valueText.textContent = this.valueDB + 'dB'; audioEngineContext.outputGain.gain.value = this.valueLin; - } else if (event.type == "mouseup") { + } + if (event.type == "mouseup") { this.onmouseup(); } this.slider.value = this.valueDB;