Skip to content

Commit

Permalink
Fix version overlay displaying briefly before it should
Browse files Browse the repository at this point in the history
  • Loading branch information
peppy committed Jul 29, 2019
1 parent 5fa820c commit f21a2f7
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions osu.Desktop/OsuGameDesktop.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using System;
Expand Down Expand Up @@ -52,11 +52,7 @@ protected override void LoadComplete()

if (!noVersionOverlay)
{
LoadComponentAsync(versionManager = new VersionManager { Depth = int.MinValue }, v =>
{
Add(v);
v.Show();
});
LoadComponentAsync(versionManager = new VersionManager { Depth = int.MinValue }, Add);

if (RuntimeInfo.OS == RuntimeInfo.Platform.Windows)
Add(new SquirrelUpdateManager());
Expand Down

0 comments on commit f21a2f7

Please sign in to comment.