Update framework; amend ToolbarButton to use padding and Children initialiser.

This commit is contained in:
Dean Herbert
2016-10-12 12:22:19 +09:00
parent cb5e4287e2
commit c0ea061bd4
7 changed files with 52 additions and 88 deletions

View File

@ -82,7 +82,7 @@ namespace osu.Game.GameModes.Menu
buttonFlow = new FlowContainerWithOrigin
{
Anchor = Anchor.Centre,
Padding = new Vector2(-wedge_width, 0),
Spacing = new Vector2(-wedge_width, 0),
Children = new Drawable[]
{
settingsButton = new Button(@"settings", @"options", FontAwesome.gear, new Color4(85, 85, 85, 255), OnSettings, -wedge_width, Key.O),