mirror of
https://github.com/ppy/osu.git
synced 2026-05-31 21:10:40 +08:00
Merge pull request #118 from SirCmpwn/fade-song-select-bg
Fade song select wedges in
This commit is contained in:
@@ -35,6 +35,7 @@ namespace osu.Game.GameModes.Play
|
||||
private ScrollContainer scrollContainer;
|
||||
private FlowContainer beatmapSetFlow;
|
||||
private TrackManager trackManager;
|
||||
private Container wedgeContainer;
|
||||
|
||||
/// <param name="database">Optionally provide a database to use instead of the OsuGame one.</param>
|
||||
public PlaySongSelect(BeatmapDatabase database = null)
|
||||
@@ -45,7 +46,7 @@ namespace osu.Game.GameModes.Play
|
||||
const float bottomToolHeight = 50;
|
||||
Children = new Drawable[]
|
||||
{
|
||||
new Container
|
||||
wedgeContainer = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
Size = Vector2.One,
|
||||
@@ -147,6 +148,7 @@ namespace osu.Game.GameModes.Play
|
||||
{
|
||||
base.OnEntering(last);
|
||||
ensurePlayingSelected();
|
||||
wedgeContainer.FadeInFromZero(250);
|
||||
}
|
||||
|
||||
protected override void OnResuming(GameMode last)
|
||||
|
||||
Reference in New Issue
Block a user