mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
repaired debug view (offsetting)
This commit is contained in:
parent
545e051598
commit
39c8f76a13
1 changed files with 0 additions and 7 deletions
|
|
@ -16,12 +16,5 @@ function (Parent, PIXI) {
|
|||
|
||||
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();
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue