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

center user panels

This commit is contained in:
Aergwyn 2017-12-25 16:11:50 +01:00
parent e2a1b18a2c
commit 0fe78bee6e

View File

@ -112,7 +112,11 @@ namespace osu.Game.Overlays
Margin = new MarginPadding { Top = 10 },
ChildrenEnumerable = Users.Select(u =>
{
UserPanel panel = new UserPanel(u);
UserPanel panel = new UserPanel(u)
{
Anchor = Anchor.TopCentre,
Origin = Anchor.TopCentre
};
switch (displayStyle)
{
case PanelDisplayStyle.Grid: