From 3be76244a77f21dfe1d3fad32710556c3ff13e31 Mon Sep 17 00:00:00 2001 From: Caoimhe Date: Wed, 29 May 2024 13:06:35 +0100 Subject: [PATCH] Window: Call `super.afterInitialization` This allows effects to be setup correctly if placed on a `Window`. GitHub: #144 --- 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()