mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Merge branch 'master' into update-changelog-notification
This commit is contained in:
@ -19,9 +19,9 @@ namespace osu.Game.Overlays.Notifications
|
||||
public abstract class Notification : Container
|
||||
{
|
||||
/// <summary>
|
||||
/// Use requested close.
|
||||
/// User requested close.
|
||||
/// </summary>
|
||||
public Action Closed;
|
||||
public event Action Closed;
|
||||
|
||||
/// <summary>
|
||||
/// Run on user activating the notification. Return true to close.
|
||||
|
@ -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);
|
||||
|
Reference in New Issue
Block a user