mirror of
https://github.com/osukey/osukey.git
synced 2025-08-08 09:03:50 +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));
|
setList.Add(createSetUI(beatmapSet));
|
||||||
}
|
}
|
||||||
|
|
||||||
public override void Load(BaseGame game)
|
public PlaySongSelect()
|
||||||
{
|
{
|
||||||
base.Load(game);
|
Children = new[]
|
||||||
|
|
||||||
OsuGame osu = game as OsuGame;
|
|
||||||
|
|
||||||
playMode = osu.PlayMode;
|
|
||||||
playMode.ValueChanged += PlayMode_ValueChanged;
|
|
||||||
|
|
||||||
Add(new ScrollContainer
|
|
||||||
{
|
{
|
||||||
OriginPosition = new OpenTK.Vector2(0, -osu.Toolbar.Height),
|
new ScrollContainer
|
||||||
|
{
|
||||||
|
OriginPosition = new OpenTK.Vector2(0, -(Game as OsuGame).Toolbar.Height),
|
||||||
Children = new[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
setList = new FlowContainer
|
setList = new FlowContainer
|
||||||
@ -54,7 +49,18 @@ namespace osu.Game.GameModes.Play
|
|||||||
Padding = new OpenTK.Vector2(25, 25)
|
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();
|
addBeatmapSets();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user