Archived
1
0
This commit is contained in:
Jeff
2016-05-03 13:47:28 -04:00
parent ee73b907de
commit fdd9bab210
2 changed files with 4 additions and 3 deletions

View File

@@ -373,10 +373,11 @@ function init(prefix) {
}, false);
e.addEventListener("dragend", function(ev) {
console.log(ev);
var x = ev.clientX - ( mouseDownX );
var y = ev.clientY - ( mouseDownY );
x = ev.movementX + mouseDownX;
x = ev.movementY + mouseDownY;
//x = ev.movementX + mouseDownX;
//x = ev.movementY + mouseDownY;
//x -= window.screenLeft;
//y -= window.screenTop;
rpl.moveTo(x, y);