mirror of https://github.com/ppy/osu
NotificationManager should become visible when receiving a notification (until we implement toasts).
This commit is contained in:
parent
1c3eca8813
commit
a14b7eb598
|
@ -73,6 +73,8 @@ private void load(OsuColour colours)
|
|||
|
||||
public void Post(Notification notification)
|
||||
{
|
||||
State = Visibility.Visible;
|
||||
|
||||
++runningDepth;
|
||||
notification.Depth = notification.DisplayOnTop ? runningDepth : -runningDepth;
|
||||
|
||||
|
|
Loading…
Reference in New Issue