MCPcopy Create free account
hub / github.com/melonjs/melonJS / hide

Method hide

packages/debug-plugin/src/index.js:341–347  ·  view source on GitHub ↗

* hide the debug panel

()

Source from the content-addressed store, hash-verified

339 * hide the debug panel
340 */
341 hide() {
342 if (this.visible) {
343 this.panelWrap.style.display = "none";
344 this.visible = false;
345 game.repaint();
346 }
347 }
348
349 /**
350 * toggle the debug panel visibility state

Callers 3

toggleMethod · 0.95
destroyMethod · 0.95
hideSplashFunction · 0.45

Calls 1

repaintMethod · 0.80

Tested by

no test coverage detected