From 8021c44f0af8a4c1b315318d3dc4ba94759a847d Mon Sep 17 00:00:00 2001 From: Caoimhe Date: Thu, 23 May 2024 17:08:17 +0100 Subject: [PATCH] Window: Call `super.afterInitialization` This allows effects to be setup correctly if placed on a `Window`. --- src/main/kotlin/gg/essential/elementa/components/Window.kt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/kotlin/gg/essential/elementa/components/Window.kt b/src/main/kotlin/gg/essential/elementa/components/Window.kt index c96d58f4..c85481b6 100644 --- a/src/main/kotlin/gg/essential/elementa/components/Window.kt +++ b/src/main/kotlin/gg/essential/elementa/components/Window.kt @@ -46,6 +46,8 @@ class Window @JvmOverloads constructor( } override fun afterInitialization() { + super.afterInitialization() + enqueueRenderOperation { FontRenderer.initShaders() UICircle.initShaders()