
Move ScreenInit events to Mixin so they fire reliably even on Forge
BlayTheNinth opened this issue ยท 0 comments
On some screens (like OptionsScreen or others that override repositionWidgets
) Neo/Forge only fire screen init events the first time the screen is opened, and not on resizes. This makes the event near unusable on those screens, since it's impossible to reliably reposition custom buttons on resizes.
Fabric always fires screen init events.
Currently, Balm mixins into OptionsScreen to manually fire init events, but that doesn't cover other (vanilla/modded) screens using layouts or similar.