mirror of
https://github.com/osukey/osukey.git
synced 2025-08-07 16:43:52 +09:00
Fix select/deselect all toggle not working correctly after changes
This commit is contained in:
@ -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();
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user