Archived
1
0
This commit is contained in:
Jeff
2016-05-03 13:16:36 -04:00
parent f6576aa899
commit 45267caa0a
2 changed files with 3 additions and 3 deletions

View File

@@ -372,8 +372,8 @@ function init(prefix) {
}, false);
e.addEventListener("dragend", function(ev) {
var x = originalX + ev.clientX - ( mouseDownX - ev.offsetX );
var y = originalY + ev.clientY - ( mouseDownY - ev.offsetY );
var x = originalX + ev.clientX - ( mouseDownX + ev.offsetX );
var y = originalY + ev.clientY - ( mouseDownY + ev.offsetY );
//x -= window.screenLeft;
//y -= window.screenTop;
rpl.moveTo(x, y);