mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
DialogManager -> DialogOverlay, cleaned up how BeatmapDeletDialog works, added global DialogOverlay
This commit is contained in:
@ -42,6 +42,8 @@ namespace osu.Game
|
||||
|
||||
private NotificationManager notificationManager;
|
||||
|
||||
private DialogOverlay dialogOverlay;
|
||||
|
||||
private Intro intro
|
||||
{
|
||||
get
|
||||
@ -142,6 +144,11 @@ namespace osu.Game
|
||||
Origin = Anchor.TopRight,
|
||||
}).LoadAsync(this, overlayContent.Add);
|
||||
|
||||
(dialogOverlay = new DialogOverlay
|
||||
{
|
||||
Depth = -4,
|
||||
}).LoadAsync(this, overlayContent.Add);
|
||||
|
||||
Logger.NewEntry += entry =>
|
||||
{
|
||||
if (entry.Level < LogLevel.Important) return;
|
||||
@ -155,6 +162,7 @@ namespace osu.Game
|
||||
Dependencies.Cache(options);
|
||||
Dependencies.Cache(musicController);
|
||||
Dependencies.Cache(notificationManager);
|
||||
Dependencies.Cache(dialogOverlay);
|
||||
|
||||
(Toolbar = new Toolbar
|
||||
{
|
||||
|
Reference in New Issue
Block a user