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

Method show

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

* show the debug panel

()

Source from the content-addressed store, hash-verified

327 * show the debug panel
328 */
329 show() {
330 if (!this.visible) {
331 this.panelWrap.style.display = "";
332 this.visible = true;
333 this._syncPosition();
334 game.repaint();
335 }
336 }
337
338 /**
339 * hide the debug panel

Callers 2

constructorMethod · 0.95
toggleMethod · 0.95

Calls 2

_syncPositionMethod · 0.95
repaintMethod · 0.80

Tested by

no test coverage detected