1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 16:47:24 +08:00

fixed according to suggestions

This commit is contained in:
Denrage 2021-04-19 19:24:46 +02:00
parent eb977312ed
commit 6bf6084ae9

View File

@ -308,7 +308,7 @@ namespace osu.Game.Screens.Select
Margin = new MarginPadding { Top = 10 },
Direction = FillDirection.Horizontal,
AutoSizeAxes = Axes.Both,
Children = new[] { getMapper(metadata) },
Child = getMapper(metadata),
},
infoLabelContainer = new FillFlowContainer
{
@ -431,10 +431,10 @@ namespace osu.Game.Screens.Select
ForceRedraw();
}
private LinkFlowContainer getMapper(BeatmapMetadata metadata)
private Drawable getMapper(BeatmapMetadata metadata)
{
if (metadata.Author == null)
return new LinkFlowContainer();
return Empty();
return new LinkFlowContainer(s =>
{