Archived
1
0
This commit is contained in:
Jeff
2016-05-03 14:19:16 -04:00
parent d1f540f99a
commit 98b2834bd1
2 changed files with 4 additions and 6 deletions

View File

@@ -153,9 +153,7 @@ DynReply.prototype.translate = function(dx, dy) {
var x = this.x + dx;
var y = this.y + dy;
this.moveTo(x, y);
} else {
this.moveTo(dx, dy);
}
};
}
DynReply.prototype.moveTo = function(x,y) {
@@ -165,7 +163,7 @@ DynReply.prototype.moveTo = function(x,y) {
this.elem.setAttribute("style", "top: "+y+"px; right: "+nx+"px;");
this.x = x;
this.y = y;
console.log(this.x, this.y);
console.log(this, this.x, this.y);
}
} else {
console.log("!!", x, y);