mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 19:53:23 +08:00
Fix vertical centering of button
This commit is contained in:
parent
eaf4f6dbb7
commit
da360af15a
@ -64,7 +64,17 @@ namespace osu.Game.Screens.Select.Carousel
|
|||||||
Spacing = new Vector2(5),
|
Spacing = new Vector2(5),
|
||||||
Children = new[]
|
Children = new[]
|
||||||
{
|
{
|
||||||
beatmapSet.AllBeatmapsUpToDate ? Empty() : new UpdateRequiredIcon(beatmapSet),
|
beatmapSet.AllBeatmapsUpToDate
|
||||||
|
? Empty()
|
||||||
|
: new Container
|
||||||
|
{
|
||||||
|
AutoSizeAxes = Axes.X,
|
||||||
|
RelativeSizeAxes = Axes.Y,
|
||||||
|
Children = new Drawable[]
|
||||||
|
{
|
||||||
|
new UpdateRequiredIcon(beatmapSet),
|
||||||
|
}
|
||||||
|
},
|
||||||
new BeatmapSetOnlineStatusPill
|
new BeatmapSetOnlineStatusPill
|
||||||
{
|
{
|
||||||
AutoSizeAxes = Axes.Both,
|
AutoSizeAxes = Axes.Both,
|
||||||
|
Loading…
Reference in New Issue
Block a user