Add support for Notification sounds

This commit is contained in:
Jamie Taylor
2021-01-15 15:21:50 +09:00
parent 70924319e4
commit a1ae739a62
2 changed files with 29 additions and 2 deletions

View File

@ -109,7 +109,12 @@ namespace osu.Game.Overlays.Notifications
private void clearAll()
{
notifications.Children.ForEach(c => c.Close());
bool playSound = true;
notifications.Children.ForEach(c =>
{
c.Close(playSound);
playSound = false;
});
}
protected override void Update()