# HG changeset patch # User Nicholas Jillings # Date 1448275622 0 # Node ID 50117a4ea276a369469184005a157bc1393d74ab # Parent 20325b53f543e043b3d1978feea7020f214399c3 Feature #1270 completed. Outside reference works as designed diff -r 20325b53f543 -r 50117a4ea276 ape.css --- 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); -} diff -r 20325b53f543 -r 50117a4ea276 core.js --- 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());