Fix vertical centering of button

This commit is contained in:
Dean Herbert 2022-07-19 18:01:25 +09:00
parent eaf4f6dbb7
commit da360af15a

View File

@ -64,7 +64,17 @@ namespace osu.Game.Screens.Select.Carousel
Spacing = new Vector2(5),
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
{
AutoSizeAxes = Axes.Both,