mirror of https://github.com/ppy/osu
Make notification insertion cleaner
This commit is contained in:
parent
0c95dff3d6
commit
7bdf737956
|
@ -26,8 +26,7 @@ public class NotificationSection : AlwaysUpdateFillFlowContainer<Drawable>
|
|||
|
||||
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