Add revert-to-default glow for settings items

This commit is contained in:
Shane Woolcock
2017-10-21 12:42:11 +10:30
parent da5e7766fb
commit 2c7343e965
3 changed files with 89 additions and 7 deletions

View File

@ -69,8 +69,6 @@ namespace osu.Game.Overlays.Settings
Padding = new MarginPadding
{
Top = 20 + border_size,
Left = SettingsOverlay.CONTENT_MARGINS,
Right = SettingsOverlay.CONTENT_MARGINS,
Bottom = 10,
},
RelativeSizeAxes = Axes.X,
@ -81,7 +79,8 @@ namespace osu.Game.Overlays.Settings
{
TextSize = header_size,
Text = Header,
Colour = colours.Yellow
Colour = colours.Yellow,
Margin = new MarginPadding { Left = SettingsOverlay.CONTENT_MARGINS, Right = SettingsOverlay.CONTENT_MARGINS }
},
FlowContent
}