mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Fix not being able to set AvailableMods
before loaded
This commit is contained in:
@ -49,7 +49,9 @@ namespace osu.Game.Overlays.Mods
|
||||
Debug.Assert(value.All(mod => mod.Mod.Type == ModType));
|
||||
|
||||
availableMods = value;
|
||||
asyncLoadPanels();
|
||||
|
||||
if (IsLoaded)
|
||||
asyncLoadPanels();
|
||||
}
|
||||
}
|
||||
|
||||
@ -249,6 +251,7 @@ namespace osu.Game.Overlays.Mods
|
||||
base.LoadComplete();
|
||||
|
||||
toggleAllCheckbox?.Current.BindValueChanged(_ => updateToggleAllText(), true);
|
||||
asyncLoadPanels();
|
||||
}
|
||||
|
||||
private void updateToggleAllText()
|
||||
|
Reference in New Issue
Block a user