set depth of input debug body

This commit is contained in:
mkt 2020-01-22 19:01:26 +01:00 committed by GitHub
parent 4c9c50582a
commit 912c0e3bbc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);