Archived
1
0
This commit is contained in:
Jeff
2016-05-03 14:34:40 -04:00
parent b1ebd3826a
commit 23c4f455d5
2 changed files with 2 additions and 2 deletions

View File

@@ -399,12 +399,12 @@ function init(prefix) {
}, false);
e.addEventListener("dragend", function(ev) {
var rpl = getReplyTo();
console.log(mouseDownX, mouseDownY);
var ox = rpl.getX();
var oy = rpl.getY();
var dx = ox + ev.screenX - mouseDownX;
var dy = oy + ev.screenY - mouseDownY;
var rpl = getReplyTo();
console.log(ox, oy, dx, dy);
rpl.translate(dx, dy);
}, false);