Make settings section icons actual drawables.

This commit is contained in:
Lucas A
2020-04-25 20:35:46 +02:00
parent aaa0f908d5
commit a756486a4d
13 changed files with 72 additions and 17 deletions

View File

@ -10,7 +10,12 @@ namespace osu.Game.Overlays.Settings.Sections
public class GeneralSection : SettingsSection
{
public override string Header => "General";
public override IconUsage Icon => FontAwesome.Solid.Cog;
public override Drawable CreateIcon() => new SpriteIcon
{
RelativeSizeAxes = Axes.Both,
Icon = FontAwesome.Solid.Cog
};
public GeneralSection()
{