Skip to content

Commit 912c0e3

Browse files
authored
set depth of input debug body
1 parent 4c9c505 commit 912c0e3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/input/InputPlugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2466,6 +2466,7 @@ var InputPlugin = new Class({
24662466
debug.setScale(gameObject.scaleX, gameObject.scaleY);
24672467
debug.setPosition(gameObject.x + offsetx, gameObject.y + offsety);
24682468
debug.setScrollFactor(gameObject.scrollFactorX, gameObject.scrollFactorY);
2469+
debug.setDepth(gameObject.depth);
24692470
};
24702471

24712472
updateList.add(debug);

0 commit comments

Comments
 (0)