Mercurial > hg > webaudioevaluationtool
changeset 821:e266584705fc
Feature #1270 completed. Outside reference works as designed
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Mon, 23 Nov 2015 10:47:02 +0000 |
parents | 7b0ce3a9ddc1 |
children | d0a061995428 |
files | ape.css core.js |
diffstat | 2 files changed, 11 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/ape.css Mon Nov 23 09:13:12 2015 +0000 +++ b/ape.css Mon Nov 23 10:47:02 2015 +0000 @@ -56,6 +56,15 @@ background-color: rgb(100,200,100); } +div#outside-reference { + width:120px; + padding-left: 55px; + margin-left: 100px; + height:20px; + margin-bottom:5px; + background-color: rgb(100,200,100); +} + div.track-slider-disabled { background-color: rgb(100,100,100); } @@ -67,11 +76,3 @@ div.comment-box-playing { background-color: #FFDDDD; } - -div#outside-reference { - width:250px; - margin-left: 100px; - height:20px; - margin-bottom:5px; - background-color: rgb(100,200,100); -}
--- a/core.js Mon Nov 23 09:13:12 2015 +0000 +++ b/core.js Mon Nov 23 10:47:02 2015 +0000 @@ -952,7 +952,8 @@ this.bufferNode.loop = audioEngineContext.loopPlayback; this.bufferNode.onended = function(event) { // Safari does not like using 'this' to reference the calling object! - event.currentTarget.owner.metric.stopListening(audioEngineContext.timer.getTestTime(),event.currentTarget.owner.getCurrentPosition()); + //event.currentTarget.owner.metric.stopListening(audioEngineContext.timer.getTestTime(),event.currentTarget.owner.getCurrentPosition()); + event.currentTarget.owner.stop(); }; if (this.bufferNode.loop == false) { this.metric.startListening(audioEngineContext.timer.getTestTime());