This commit is contained in:
Jeff committed 2016-05-03 14:33:41 -04:00
1 parent 914c69215e
commit b1ebd3826a
2 files changed
+3 -4

No files matched your search

+2 -3
View File
@@ -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