1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:17:23 +08:00

Move external link opened to top most level

This commit is contained in:
Dean Herbert 2018-12-06 11:55:58 +09:00
parent 4f46fa4798
commit 669a17529a

View File

@ -402,16 +402,21 @@ namespace osu.Game
Origin = Anchor.TopRight,
}, overlayContent.Add);
loadComponentSingleFile(dialogOverlay = new DialogOverlay
loadComponentSingleFile(accountCreation = new AccountCreationOverlay
{
Depth = -6,
}, overlayContent.Add);
loadComponentSingleFile(accountCreation = new AccountCreationOverlay
loadComponentSingleFile(dialogOverlay = new DialogOverlay
{
Depth = -7,
}, overlayContent.Add);
loadComponentSingleFile(externalLinkOpener = new ExternalLinkOpener
{
Depth = -8,
}, overlayContent.Add);
dependencies.Cache(idleTracker);
dependencies.Cache(settings);
dependencies.Cache(onscreenDisplay);
@ -426,8 +431,6 @@ namespace osu.Game
dependencies.Cache(dialogOverlay);
dependencies.Cache(accountCreation);
Add(externalLinkOpener = new ExternalLinkOpener());
var singleDisplaySideOverlays = new OverlayContainer[] { settings, notifications };
overlays.AddRange(singleDisplaySideOverlays);