Centre beatmap panels in profile overlay

This commit is contained in:
Dean Herbert 2019-08-19 13:22:32 +09:00
parent 686942446c
commit be51fde292
1 changed files with 5 additions and 2 deletions

View File

@ -46,8 +46,11 @@ protected override void ShowMore()
if (!s.OnlineBeatmapSetID.HasValue)
continue;
var panel = new DirectGridPanel(s.ToBeatmapSet(Rulesets));
ItemsContainer.Add(panel);
ItemsContainer.Add(new DirectGridPanel(s.ToBeatmapSet(Rulesets))
{
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre,
});
}
});