mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 05:22:54 +08:00
Fix select/deselect all toggle not working correctly after changes
This commit is contained in:
parent
52bbce12f1
commit
b5a9f1310a
@ -50,6 +50,14 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
availableMods = value;
|
||||
|
||||
foreach (var mod in availableMods)
|
||||
{
|
||||
mod.Active.BindValueChanged(_ => updateState());
|
||||
mod.Filtered.BindValueChanged(_ => updateState());
|
||||
}
|
||||
|
||||
updateState();
|
||||
|
||||
if (IsLoaded)
|
||||
asyncLoadPanels();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user