mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 15:43:22 +08:00
Combine settings strings to read from same location
This commit is contained in:
parent
2fac0a180e
commit
0d1674ca5e
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user