MCPcopy Create free account
hub / github.com/Angais/Fable5-mc / setDebug

Method setDebug

src/ui.js:240–244  ·  view source on GitHub ↗
(visible, text = '')

Source from the content-addressed store, hash-verified

238 }
239
240 setDebug(visible, text = '') {
241 const el = this.$('debug');
242 el.classList.toggle('hidden', !visible);
243 if (visible) el.textContent = text;
244 }
245
246 showWebglError() {
247 this.$('webgl-error').classList.remove('hidden');

Callers 2

bindInputMethod · 0.80
framePlayingMethod · 0.80

Calls 1

toggleMethod · 0.80

Tested by

no test coverage detected