plugins/debug/debugPanel.js
function () {
            if (this.visible) {
                // release the mouse event for the checkboxes
                me.input.releasePointerEvent("pointerdown", this);
                // remove the debug panel from the game world
                me.game.world.removeChild(this, true);
                // mark it as invisible
                this.visible = false;
                // force repaint
                me.game.repaint();
            }
        }
function () {
            if (this.visible) {
                // release the mouse event for the checkboxes
                me.input.releasePointerEvent("pointerdown", this);
                // remove the debug panel from the game world
                me.game.world.removeChild(this, true);
                // mark it as invisible
                this.visible = false;
                // force repaint
                me.game.repaint();
            }
        }
function ( ) { if ( this . visible ) { // release the mouse event for the checkboxes me . input . releasePointerEvent ( "pointerdown" , this ) ; // remove the debug panel from the game world me . game . world . removeChild ( this , true ) ; // mark it as invisible this . visible = false ; // force repaint me . game . repaint ( ) ; } }
hide the debug panel
@ignore
hide the debug panel