Archived
1
0

screenX -> screenLeft

This commit is contained in:
Jeff Becker
2016-04-30 15:05:31 -04:00
parent 11f096e195
commit 0a4a3b4f8a
2 changed files with 2 additions and 2 deletions

View File

@@ -279,7 +279,7 @@ function init(prefix) {
e.addEventListener("dragend", function(ev) {
var x = originalX + ev.clientX - mouseDownX;
var y = originalY + ev.clientY - mouseDownY;
x = window.screenX - x;
x = window.screenLeft - x;
rpl.moveTo(x, y);
originalX = x;
originalY = y;