mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 16:29:58 +09:00
Fix checkbox not being updated
This commit is contained in:
@ -456,6 +456,7 @@ namespace osu.Game.Overlays.Mods
|
||||
}
|
||||
|
||||
updateSelectedButtons();
|
||||
OnAvailableModsChanged();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@ -533,6 +534,13 @@ namespace osu.Game.Overlays.Mods
|
||||
private void playSelectedSound() => sampleOn?.Play();
|
||||
private void playDeselectedSound() => sampleOff?.Play();
|
||||
|
||||
/// <summary>
|
||||
/// Invoked after <see cref="availableMods"/> has changed.
|
||||
/// </summary>
|
||||
protected virtual void OnAvailableModsChanged()
|
||||
{
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Invoked when a new <see cref="Mod"/> has been selected.
|
||||
/// </summary>
|
||||
|
Reference in New Issue
Block a user