repaired debug view (offsetting)

This commit is contained in:
logsol 2015-04-20 15:31:25 +02:00
parent 545e051598
commit 39c8f76a13

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();
}); });