mirror of
https://github.com/ppy/osu
synced 2024-12-28 01:42:57 +00:00
Hide NotificationOverlay
This commit is contained in:
parent
37aff7a6aa
commit
8ef4b2a0f6
@ -113,13 +113,14 @@ namespace osu.Desktop.Overlays
|
||||
}
|
||||
|
||||
[BackgroundDependencyLoader]
|
||||
private void load(OsuColour colours, ChangelogOverlay changelog)
|
||||
private void load(OsuColour colours, ChangelogOverlay changelog, NotificationOverlay notificationOverlay)
|
||||
{
|
||||
Icon = FontAwesome.Solid.CheckSquare;
|
||||
IconBackgound.Colour = colours.BlueDark;
|
||||
|
||||
Activated = delegate
|
||||
{
|
||||
notificationOverlay.Hide();
|
||||
changelog.ShowBuild(OsuGameBase.CLIENT_STREAM_NAME, version);
|
||||
return true;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user