1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-19 15:40:14 +08:00

Combine settings strings to read from same location

This commit is contained in:
Dean Herbert
2020-09-03 16:32:43 +09:00
Unverified
parent 2fac0a180e
commit 0d1674ca5e
+3 -3
View File
@@ -16,8 +16,8 @@ namespace osu.Game.Overlays
public class SettingsOverlay : SettingsPanel, INamedOverlayComponent
{
public string IconTexture => "Icons/Hexacons/settings";
public string Title => "Settings";
public string Description => "Change your settings";
public string Title => "settings";
public string Description => "Change the way osu! behaves";
protected override IEnumerable<SettingsSection> CreateSections() => new SettingsSection[]
{
@@ -34,7 +34,7 @@ namespace osu.Game.Overlays
private readonly List<SettingsSubPanel> subPanels = new List<SettingsSubPanel>();
protected override Drawable CreateHeader() => new SettingsHeader("settings", "Change the way osu! behaves");
protected override Drawable CreateHeader() => new SettingsHeader(Title, Description);
protected override Drawable CreateFooter() => new SettingsFooter();
public SettingsOverlay()