mirror of
https://github.com/photonstorm/phaser
synced 2024-12-01 08:59:31 +00:00
set depth of input debug body
This commit is contained in:
parent
4c9c50582a
commit
912c0e3bbc
1 changed files with 1 additions and 0 deletions
|
@ -2466,6 +2466,7 @@ var InputPlugin = new Class({
|
|||
debug.setScale(gameObject.scaleX, gameObject.scaleY);
|
||||
debug.setPosition(gameObject.x + offsetx, gameObject.y + offsety);
|
||||
debug.setScrollFactor(gameObject.scrollFactorX, gameObject.scrollFactorY);
|
||||
debug.setDepth(gameObject.depth);
|
||||
};
|
||||
|
||||
updateList.add(debug);
|
||||
|
|
Loading…
Reference in a new issue