Reorder version overlay to display behind game-wide overlays

This commit is contained in:
Salman Ahmed 2021-12-13 06:48:40 +03:00
parent d0fbbf110b
commit d92f5039cd
1 changed files with 4 additions and 2 deletions

View File

@ -70,7 +70,9 @@ private string getStableInstallPath()
if (!string.IsNullOrEmpty(stableInstallPath) && checkExists(stableInstallPath))
return stableInstallPath;
}
catch { }
catch
{
}
}
stableInstallPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"osu!");
@ -113,7 +115,7 @@ protected override void LoadComplete()
base.LoadComplete();
if (!noVersionOverlay)
LoadComponentAsync(versionManager = new VersionManager { Depth = int.MinValue }, Add);
LoadComponentAsync(versionManager = new VersionManager { Depth = int.MinValue }, ScreenContainer.Add);
LoadComponentAsync(new DiscordRichPresence(), Add);