Copy selected mods properties into overlay's buttons

This commit is contained in:
Salman Ahmed
2021-01-01 03:47:13 +03:00
parent b4df2d6d43
commit 2ce9599957
2 changed files with 18 additions and 8 deletions

View File

@ -409,7 +409,7 @@ namespace osu.Game.Overlays.Mods
private void selectedModsChanged(ValueChangedEvent<IReadOnlyList<Mod>> mods)
{
foreach (var section in ModSectionsContainer.Children)
section.SelectTypes(mods.NewValue.Select(m => m.GetType()).ToList());
section.UpdateSelectedMods(mods.NewValue);
updateMods();
}