Mercurial > hg > webaudioevaluationtool
diff interfaces/ordinal.js @ 2992:cb227441a102
Ordinal not returning the computed get value
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Wed, 28 Nov 2018 13:50:22 +0000 |
parents | 68e5a789702f |
children | a8455b0766cd |
line wrap: on
line diff
--- a/interfaces/ordinal.js Mon Jul 16 14:51:18 2018 +0100 +++ b/interfaces/ordinal.js Wed Nov 28 13:50:22 2018 +0000 @@ -374,6 +374,7 @@ // Return the current value of the object. If there is no value, return 0 var pos = this.getElementPosition(); var rank = pos / (audioEngineContext.audioObjects.length - 1); + return rank; }; this.getPresentedId = function () { // Return the presented ID of the object. For instance, the APE has sliders starting from 0. Whilst AB has alphabetical scale