Skip to content

Commit

Permalink
Fix select/deselect all toggle not working correctly after changes
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed May 11, 2022
1 parent 52bbce1 commit b5a9f13
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions osu.Game/Overlays/Mods/ModColumn.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,14 @@ public IReadOnlyList<ModState> AvailableMods

availableMods = value;

foreach (var mod in availableMods)
{
mod.Active.BindValueChanged(_ => updateState());
mod.Filtered.BindValueChanged(_ => updateState());
}

updateState();

if (IsLoaded)
asyncLoadPanels();
}
Expand Down

0 comments on commit b5a9f13

Please sign in to comment.