mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 11:42:14 -08:00
Reorder function calls in prepareModsTab.
Moved the manageModCategory function call to the end within prepareModsTab. This ensures that category management happens after resolving the UI elements, maintaining the logical sequence of operations.
This commit is contained in:
parent
0893cf5a5e
commit
f0321e1f6d
@ -1154,10 +1154,10 @@ function animateSettingsTabRefresh(){
|
|||||||
* Prepare the Mods tab for display.
|
* Prepare the Mods tab for display.
|
||||||
*/
|
*/
|
||||||
async function prepareModsTab(first){
|
async function prepareModsTab(first){
|
||||||
manageModCategory()
|
|
||||||
await resolveModsForUI()
|
await resolveModsForUI()
|
||||||
await resolveDropinModsForUI()
|
await resolveDropinModsForUI()
|
||||||
await resolveShaderpacksForUI()
|
await resolveShaderpacksForUI()
|
||||||
|
manageModCategory()
|
||||||
bindDropinModsRemoveButton()
|
bindDropinModsRemoveButton()
|
||||||
bindDropinModFileSystemButton()
|
bindDropinModFileSystemButton()
|
||||||
bindShaderpackButton()
|
bindShaderpackButton()
|
||||||
|
Loading…
Reference in New Issue
Block a user