Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix mods screen initialization being slow with many mods #790

Merged

Conversation

LostLuma
Copy link
Contributor

@LostLuma LostLuma commented Oct 13, 2024

Resolves #727.

Changes the check for whether a mod has a config screen to check whether a config screen factory is available, and defers actually constructing individual config screens until the user actually clicks the configure button.

As a side-effect broken config screens are no longer reported on until the user has tried opening the config screen at least once, but I think this should be an acceptable change considering the improved user experience otherwise.

@Prospector Prospector merged commit f6061d0 into TerraformersMC:1.21 Oct 14, 2024
1 check passed
Prospector pushed a commit that referenced this pull request Oct 14, 2024
- Fix Mods screen being slow to open the first time
- Config screen errors no longer show until after a user has tried to open them
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.

Opening Mods list causes huge memory spike
2 participants