Added DeselectAll

This commit is contained in:
DrabWeb
2017-02-18 11:40:05 -04:00
parent a024353574
commit 3f5d155583
2 changed files with 24 additions and 4 deletions

View File

@ -121,6 +121,14 @@ namespace osu.Game.Overlays.Mods
}
}
public void DeselectAll()
{
foreach (ModButton button in buttons)
{
button.Deselect();
}
}
private void buttonPressed(Mod mod)
{
Action?.Invoke(SelectedMods);