diff --git a/src/gui/src/UI/UIElement.js b/src/gui/src/UI/UIElement.js index e50fbfb6..198cb3a7 100644 --- a/src/gui/src/UI/UIElement.js +++ b/src/gui/src/UI/UIElement.js @@ -126,7 +126,9 @@ export default def(class UIElement extends AdvancedBase { style.textContent = this.constructor.CSS; document.head.appendChild(style); } - this.make(this); + if ( ! this.constructor.LAZY_RENDER ) { + this.make(this); + } } reinitialize () {