Fix FlowContainers.

This commit is contained in:
Dean Herbert
2016-10-22 18:05:46 +09:00
parent cdef75c98b
commit 28a41dcca6
6 changed files with 9 additions and 1 deletions

View File

@ -80,8 +80,9 @@ namespace osu.Game.GameModes.Menu
{
Direction = FlowDirection.HorizontalOnly,
Anchor = Anchor.Centre,
AutoSizeAxes = Axes.Both,
Spacing = new Vector2(-wedge_width, 0),
Children = new Drawable[]
Children = new[]
{
settingsButton = new Button(@"settings", @"options", FontAwesome.gear, new Color4(85, 85, 85, 255), OnSettings, -wedge_width, Key.O),
backButton = new Button(@"back", @"back", FontAwesome.fa_osu_left_o, new Color4(51, 58, 94, 255), onBack, -wedge_width, Key.Escape),