Skip to content

Commit

Permalink
Window: Call super.afterInitialization
Browse files Browse the repository at this point in the history
This allows effects to be setup correctly if placed on a `Window`.

GitHub: #144
  • Loading branch information
caoimhebyrne committed May 29, 2024
1 parent 4d58009 commit 3be7624
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/kotlin/gg/essential/elementa/components/Window.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class Window @JvmOverloads constructor(
}

override fun afterInitialization() {
super.afterInitialization()

enqueueRenderOperation {
FontRenderer.initShaders()
UICircle.initShaders()
Expand Down

0 comments on commit 3be7624

Please sign in to comment.