mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 16:02:55 +08:00
Apply review comment
This commit is contained in:
parent
aacacd75f0
commit
0f39558da2
@ -19,9 +19,6 @@ namespace osu.Game.Tournament.Tests
|
||||
Depth = 10
|
||||
}, AddInternal);
|
||||
|
||||
MenuCursorContainer.Cursor.AlwaysPresent = true;
|
||||
MenuCursorContainer.Cursor.Alpha = 0;
|
||||
|
||||
// Have to construct this here, rather than in the constructor, because
|
||||
// we depend on some dependencies to be loaded within OsuGameBase.load().
|
||||
Add(new TestBrowser());
|
||||
|
@ -111,15 +111,5 @@ namespace osu.Game.Tournament
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
MenuCursorContainer.Cursor.AlwaysPresent = true; // required for tooltip display
|
||||
|
||||
// we don't want to show the menu cursor as it would appear on stream output.
|
||||
MenuCursorContainer.Cursor.Alpha = 0;
|
||||
|
||||
base.LoadComplete();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -228,6 +228,15 @@ namespace osu.Game.Tournament
|
||||
|
||||
API.Queue(req);
|
||||
}
|
||||
protected override void LoadComplete()
|
||||
{
|
||||
MenuCursorContainer.Cursor.AlwaysPresent = true; // required for tooltip display
|
||||
|
||||
// we don't want to show the menu cursor as it would appear on stream output.
|
||||
MenuCursorContainer.Cursor.Alpha = 0;
|
||||
|
||||
base.LoadComplete();
|
||||
}
|
||||
|
||||
protected virtual void SaveChanges()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user