mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 19:42:55 +08:00
Vertically centre the panels in osu!direct
This commit is contained in:
parent
f38e3b35d0
commit
66fa108696
@ -220,7 +220,11 @@ namespace osu.Game.Overlays
|
||||
switch (displayStyle)
|
||||
{
|
||||
case PanelDisplayStyle.Grid:
|
||||
return new DirectGridPanel(b);
|
||||
return new DirectGridPanel(b)
|
||||
{
|
||||
Anchor = Anchor.TopCentre,
|
||||
Origin = Anchor.TopCentre,
|
||||
};
|
||||
default:
|
||||
return new DirectListPanel(b);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user