mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:05:34 +08:00
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 @@ namespace osu.Game.Overlays
|
||||
|
||||
public void Post(Notification notification)
|
||||
{
|
||||
State = Visibility.Visible;
|
||||
|
||||
++runningDepth;
|
||||
notification.Depth = notification.DisplayOnTop ? runningDepth : -runningDepth;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user