mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 00:53:56 +09:00
Adjust PlaySongSelect to match UI standards
This commit is contained in:
@ -34,18 +34,13 @@ namespace osu.Game.GameModes.Play
|
||||
setList.Add(createSetUI(beatmapSet));
|
||||
}
|
||||
|
||||
public override void Load(BaseGame game)
|
||||
public PlaySongSelect()
|
||||
{
|
||||
base.Load(game);
|
||||
|
||||
OsuGame osu = game as OsuGame;
|
||||
|
||||
playMode = osu.PlayMode;
|
||||
playMode.ValueChanged += PlayMode_ValueChanged;
|
||||
|
||||
Add(new ScrollContainer
|
||||
Children = new[]
|
||||
{
|
||||
OriginPosition = new OpenTK.Vector2(0, -osu.Toolbar.Height),
|
||||
new ScrollContainer
|
||||
{
|
||||
OriginPosition = new OpenTK.Vector2(0, -(Game as OsuGame).Toolbar.Height),
|
||||
Children = new[]
|
||||
{
|
||||
setList = new FlowContainer
|
||||
@ -54,7 +49,18 @@ namespace osu.Game.GameModes.Play
|
||||
Padding = new OpenTK.Vector2(25, 25)
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
public override void Load(BaseGame game)
|
||||
{
|
||||
base.Load(game);
|
||||
|
||||
OsuGame osu = game as OsuGame;
|
||||
|
||||
playMode = osu.PlayMode;
|
||||
playMode.ValueChanged += PlayMode_ValueChanged;
|
||||
|
||||
addBeatmapSets();
|
||||
|
||||
|
Reference in New Issue
Block a user