Skip to content

Fix mods screen initialization being slow with many mods#790

Merged
Prospector merged 1 commit intoTerraformersMC:1.21from
LostLuma:fix/screen-opening-slowdown
Oct 14, 2024
Merged

Fix mods screen initialization being slow with many mods#790
Prospector merged 1 commit intoTerraformersMC:1.21from
LostLuma:fix/screen-opening-slowdown

Conversation

@LostLuma
Copy link
Copy Markdown
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
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