Skip to content

Conversation

@ALongStringOfNumbers
Copy link
Contributor

Fixes a crash with the Scrolling Text Widget when no default animator is supplied, and the Widget is disabled. Because the widget is disabled, it does not have a chance to be assigned the default animator, so the animator will be null when the parent panel is closed and dispose is called.

@brachy84
Copy link
Member

Do animator != null

@ALongStringOfNumbers
Copy link
Contributor Author

Do animator != null

Done

@brachy84 brachy84 merged commit 32f4831 into CleanroomMC:master Nov 12, 2025
brachy84 pushed a commit to brachy84/ModularUI2-GTNH that referenced this pull request Nov 12, 2025
* Fix Animator Crash when Widget is Disabled

* Change to check if animator is not null

(cherry picked from commit 32f4831)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants