1
0
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:
Bartłomiej Dach 2022-05-11 20:28:11 +02:00
parent 52bbce12f1
commit b5a9f1310a
No known key found for this signature in database
GPG Key ID: BCECCD4FA41F6497

View File

@ -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();
} }