mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 21:02:54 +08:00
fixup! Allow version manager to load completely async
This commit is contained in:
parent
9b7d569a65
commit
65b23f38f1
@ -18,8 +18,6 @@ namespace osu.Desktop
|
||||
{
|
||||
internal class OsuGameDesktop : OsuGame
|
||||
{
|
||||
private VersionManager versionManager;
|
||||
|
||||
public OsuGameDesktop(string[] args = null)
|
||||
: base(args)
|
||||
{
|
||||
@ -81,7 +79,7 @@ namespace osu.Desktop
|
||||
{
|
||||
base.LoadComplete();
|
||||
|
||||
LoadComponentAsync(versionManager = new VersionManager { Depth = int.MinValue }, v =>
|
||||
LoadComponentAsync(new VersionManager { Depth = int.MinValue }, v =>
|
||||
{
|
||||
Add(v);
|
||||
v.State = Visibility.Visible;
|
||||
|
Loading…
Reference in New Issue
Block a user