Mercurial > hg > webaudioevaluationtool
changeset 1468:a49ef3d8d471
APE new drag: Tested on OSX (Chrome, Firefox, Safari) and Win10 (Chrome, Firefox). Working.
author | Nicholas Jillings <nickjillings@users.noreply.github.com> |
---|---|
date | Fri, 27 Nov 2015 10:31:52 +0000 |
parents | 1360ab96b10b |
children | 006ecc7f906c |
files | ape.js |
diffstat | 1 files changed, 5 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ape.js Fri Nov 27 10:23:47 2015 +0000 +++ b/ape.js Fri Nov 27 10:31:52 2015 +0000 @@ -405,10 +405,14 @@ }); - $('.track-slider').mousedown(function() { + $('.track-slider').mousedown(function(event) { clicking = this.getAttribute('trackIndex'); }); + $('.track-slider').mousemove(function(event) { + event.preventDefault(); + }); + $('#slider').mousemove(function(event) { event.preventDefault(); if (clicking == -1)