try fix
This commit is contained in:
1 parent
914c69215e
commit
b1ebd3826a
2 files changed
+3
-4
No files matched your search
+2
-3
@@ -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