Add debounce to notification sample playback logic

This commit is contained in:
Dean Herbert
2021-09-05 13:22:37 +09:00
parent 1d23ac0f2d
commit 473e15e8f3
5 changed files with 34 additions and 33 deletions

View File

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