mirror of
https://github.com/ppy/osu.git
synced 2024-09-22 06:07:25 +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;
|
availableMods = value;
|
||||||
|
|
||||||
|
foreach (var mod in availableMods)
|
||||||
|
{
|
||||||
|
mod.Active.BindValueChanged(_ => updateState());
|
||||||
|
mod.Filtered.BindValueChanged(_ => updateState());
|
||||||
|
}
|
||||||
|
|
||||||
|
updateState();
|
||||||
|
|
||||||
if (IsLoaded)
|
if (IsLoaded)
|
||||||
asyncLoadPanels();
|
asyncLoadPanels();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user