mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 23:12:55 +08:00
Merge remote-tracking branch 'refs/remotes/ppy/master' into beatmap_scores
This commit is contained in:
commit
bc45843def
@ -1 +1 @@
|
||||
Subproject commit 1a563d7ce0834cede2ef587762f98fe580badf3c
|
||||
Subproject commit 36fad894f0657d0fdc998ffd3f2f3fa87e45d67d
|
@ -1 +1 @@
|
||||
Subproject commit a4418111f8ed2350a6fd46fe69258884f0757745
|
||||
Subproject commit 1750ab8f6761ab35592fd46da71fbe0c141bfd93
|
@ -18,9 +18,12 @@ namespace osu.Desktop
|
||||
{
|
||||
internal class OsuGameDesktop : OsuGame
|
||||
{
|
||||
private readonly bool noVersionOverlay;
|
||||
|
||||
public OsuGameDesktop(string[] args = null)
|
||||
: base(args)
|
||||
{
|
||||
noVersionOverlay = args?.Any(a => a == "--no-version-overlay") ?? false;
|
||||
}
|
||||
|
||||
public override Storage GetStorageForStableInstall()
|
||||
@ -79,11 +82,14 @@ namespace osu.Desktop
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
LoadComponentAsync(new VersionManager { Depth = int.MinValue }, v =>
|
||||
if (!noVersionOverlay)
|
||||
{
|
||||
Add(v);
|
||||
v.State = Visibility.Visible;
|
||||
});
|
||||
LoadComponentAsync(new VersionManager { Depth = int.MinValue }, v =>
|
||||
{
|
||||
Add(v);
|
||||
v.State = Visibility.Visible;
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
public override void SetHost(GameHost host)
|
||||
|
Loading…
Reference in New Issue
Block a user