mirror of
https://github.com/ppy/osu.git
synced 2025-01-12 16:02:55 +08:00
Merge pull request #1613 from peppy/center-osu-direct
Vertically centre the panels in osu!direct
This commit is contained in:
commit
36d1b8a021
@ -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