mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Make notification insertion cleaner
This commit is contained in:
parent
0c95dff3d6
commit
7bdf737956
@ -26,8 +26,7 @@ namespace osu.Game.Overlays.Notifications
|
||||
|
||||
public void Add(Notification notification, float position)
|
||||
{
|
||||
notifications.Add(notification);
|
||||
notifications.SetLayoutPosition(notification, position);
|
||||
notifications.Insert((int)position, notification);
|
||||
}
|
||||
|
||||
public IEnumerable<Type> AcceptTypes;
|
||||
|
Loading…
Reference in New Issue
Block a user