mirror of https://github.com/ppy/osu
Vertically centre the editor osu! playfield
This commit is contained in:
parent
cdbb6f90be
commit
dd8774a640
|
@ -65,8 +65,8 @@ private void load()
|
|||
PlayfieldContentContainer.Padding = new MarginPadding
|
||||
{
|
||||
Vertical = 10,
|
||||
Left = TOOLBOX_CONTRACTED_SIZE_LEFT + 10,
|
||||
Right = TOOLBOX_CONTRACTED_SIZE_RIGHT + 10,
|
||||
// Intentionally use the left toolbox size for both sides to vertically centre the playfield.
|
||||
Horizontal = TOOLBOX_CONTRACTED_SIZE_LEFT + 10,
|
||||
};
|
||||
|
||||
LayerBelowRuleset.AddRange(new Drawable[]
|
||||
|
|
Loading…
Reference in New Issue