Mercurial > hg > webaudioevaluationtool
comparison interfaces/ape.js @ 3074:5c9cb8147a51
#122 Incorrect touchend behaviour for tap
author | Nicholas Jillings <n.g.r.jillings@se14.qmul.ac.uk> |
---|---|
date | Tue, 31 Oct 2017 22:23:17 +0000 |
parents | 87b3657abce7 |
children | 0fc927572aab |
comparison
equal
deleted
inserted
replaced
3073:87b3657abce7 | 3074:5c9cb8147a51 |
---|---|
601 move = Math.min(w, move); | 601 move = Math.min(w, move); |
602 UI.selected.value = (move / w); | 602 UI.selected.value = (move / w); |
603 } | 603 } |
604 } else if (event.type == "touchend" || event.type == "touchcancel") { | 604 } else if (event.type == "touchend" || event.type == "touchcancel") { |
605 if (UI.selected == getTargetSlider(event.target)) { | 605 if (UI.selected == getTargetSlider(event.target)) { |
606 UI.selected.handleEvent(event); | 606 this.mouseup(UI.selected); |
607 } | 607 } |
608 } | 608 } |
609 } | 609 } |
610 this.checkAllMoved = function () { | 610 this.checkAllMoved = function () { |
611 var notMoved = sliders.filter(function (s) { | 611 var notMoved = sliders.filter(function (s) { |