Merge remote-tracking branch 'origin/master' into facade-container

# Conflicts:
#	osu.Game/Screens/Play/PlayerLoader.cs
This commit is contained in:
smoogipoo
2019-04-17 17:17:33 +09:00
65 changed files with 272 additions and 208 deletions

View File

@ -117,6 +117,9 @@ namespace osu.Game.Screens.Menu
[Resolved(CanBeNull = true)]
private NotificationOverlay notifications { get; set; }
[Resolved(CanBeNull = true)]
private LoginOverlay loginOverlay { get; set; }
[BackgroundDependencyLoader(true)]
private void load(AudioManager audio, IdleTracker idleTracker, GameHost host)
{
@ -158,7 +161,12 @@ namespace osu.Game.Screens.Menu
notifications?.Post(new SimpleNotification
{
Text = "You gotta be logged in to multi 'yo!",
Icon = FontAwesome.Solid.Globe
Icon = FontAwesome.Solid.Globe,
Activated = () =>
{
loginOverlay?.Show();
return true;
}
});
return;