Vertically centre the editor osu! playfield

This commit is contained in:
Dean Herbert 2023-07-14 13:21:28 +09:00
parent cdbb6f90be
commit dd8774a640
1 changed files with 2 additions and 2 deletions

View File

@ -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[]