Allow the notification overlay to close when all notifications are dismissed

This commit is contained in:
Dean Herbert
2017-08-22 19:51:42 +09:00
parent ad16f41e26
commit 480d839d67
3 changed files with 14 additions and 3 deletions

View File

@ -24,6 +24,8 @@ namespace osu.Game.Overlays.Notifications
private FlowContainer<Notification> notifications;
public int DisplayedCount => notifications.Count;
public void Add(Notification notification)
{
notifications.Add(notification);