mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 18:32:56 +08:00
center user panels
This commit is contained in:
parent
e2a1b18a2c
commit
0fe78bee6e
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user