mirror of
https://github.com/ppy/osu.git
synced 2024-11-11 12:57:36 +08:00
Remove redundant FillFlowContainer from DashboardBeatmapPanel
This commit is contained in:
parent
b5f688e63a
commit
5b1e3e8622
@ -108,25 +108,18 @@ namespace osu.Game.Overlays.Dashboard.Dashboard
|
||||
Font = OsuFont.GetFont(size: 12, weight: FontWeight.SemiBold),
|
||||
Text = SetInfo.Metadata.Artist
|
||||
},
|
||||
new FillFlowContainer
|
||||
{
|
||||
AutoSizeAxes = Axes.Both,
|
||||
Direction = FillDirection.Horizontal,
|
||||
Spacing = new Vector2(3, 0),
|
||||
Margin = new MarginPadding { Top = 2 },
|
||||
Children = new[]
|
||||
{
|
||||
new LinkFlowContainer(f => f.Font = OsuFont.GetFont(size: 10, weight: FontWeight.SemiBold))
|
||||
{
|
||||
AutoSizeAxes = Axes.Both
|
||||
AutoSizeAxes = Axes.Y,
|
||||
RelativeSizeAxes = Axes.X,
|
||||
Spacing = new Vector2(3),
|
||||
Margin = new MarginPadding { Top = 2 }
|
||||
}.With(c =>
|
||||
{
|
||||
c.AddText("by");
|
||||
c.AddUserLink(SetInfo.Metadata.Author);
|
||||
}),
|
||||
CreateInfo()
|
||||
}
|
||||
}
|
||||
c.AddArbitraryDrawable(CreateInfo());
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user