(visible, text = '')
| 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'); |
no test coverage detected