mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 02:33:02 +08:00
Fix mod column using wrong equality type
This commit is contained in:
parent
89d8ed8e20
commit
746a4a7403
@ -296,7 +296,7 @@ namespace osu.Game.Overlays.Mods
|
||||
private void updateActiveState()
|
||||
{
|
||||
foreach (var panel in panelFlow)
|
||||
panel.Active.Value = SelectedMods.Value.Contains(panel.Mod, EqualityComparer<Mod>.Default);
|
||||
panel.Active.Value = SelectedMods.Value.Any(selected => selected.GetType() == panel.Mod.GetType());
|
||||
}
|
||||
|
||||
#region Bulk select / deselect
|
||||
|
Loading…
Reference in New Issue
Block a user