try fix
This commit is contained in:
@@ -400,14 +400,13 @@ function init(prefix) {
|
||||
|
||||
e.addEventListener("dragend", function(ev) {
|
||||
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);
|
||||
ox = rpl.getX();
|
||||
oy = rpl.getY();
|
||||
console.log(ox, oy);
|
||||
}, false);
|
||||
|
||||
// add replyto post handlers
|
||||
|
Reference in New Issue
Block a user