repaired debug view (offsetting)

This commit is contained in:
logsol 2015-04-20 15:31:25 +02:00
parent bd7edc779e
commit 97da7770d0

View file

@ -16,12 +16,5 @@ function (Parent, PIXI) {
Debug.prototype = Object.create(Parent.prototype); Debug.prototype = Object.create(Parent.prototype);
Debug.prototype.render = function(centerPosition, zoom) {
Parent.prototype.render.call(this, centerPosition, zoom);
this.container.x -= 300 * zoom;
this.container.y -= 200 * zoom;
};
return new Debug(); return new Debug();
}); });