# HG changeset patch # User Nicholas Jillings # Date 1449834148 0 # Node ID c8f99418b34b4dc672f9d6ea8622ae3dc47d95d0 # Parent 28a7016bffde7f80ce1b60ebc4c17c1308ad3057 Bug #1490: Popup button 'enter' key grab only bound once. APE Multi-interface has default metric response if only one axis used. diff -r 28a7016bffde -r c8f99418b34b ape.js --- a/ape.js Fri Dec 11 11:19:11 2015 +0000 +++ b/ape.js Fri Dec 11 11:42:28 2015 +0000 @@ -313,6 +313,7 @@ // Create a slider per track audioObject.interfaceDOM = new sliderObject(audioObject,interfaceObj); + audioObject.metric.initialPosition = convSliderPosToRate(audioObject.interfaceDOM.trackSliderObjects[0]); if (audioObject.state == 1) { audioObject.interfaceDOM.enable(); @@ -667,16 +668,24 @@ // Saves a specific test page // You can use this space to add any extra nodes to your XML saves // Get the current information in store (remember to appendChild your data to it) + if (interfaceContext.interfaceSliders.length == 1) + { + // If there is only one axis, there only needs to be one metric return + return; + } var audioelements = store.getElementsByTagName("audioelement"); for (var i=0; i