mirror of
https://github.com/osukey/osukey.git
synced 2025-07-01 08:20:00 +09:00
Additional fixes for flow ordering after framework changes
This commit is contained in:
@ -25,10 +25,13 @@ namespace osu.Game.Overlays.Notifications
|
||||
private FlowContainer<Notification> notifications;
|
||||
|
||||
public int DisplayedCount => notifications.Count(n => !n.WasClosed);
|
||||
|
||||
public int UnreadCount => notifications.Count(n => !n.WasClosed && !n.Read);
|
||||
|
||||
public void Add(Notification notification) => notifications.Add(notification);
|
||||
public void Add(Notification notification, float position)
|
||||
{
|
||||
notifications.Add(notification);
|
||||
notifications.SetLayoutPosition(notification, position);
|
||||
}
|
||||
|
||||
public IEnumerable<Type> AcceptTypes;
|
||||
|
||||
|
Reference in New Issue
Block a user