1
0
mirror of https://github.com/ppy/osu.git synced 2025-02-15 14:03:01 +08:00

Tidy up specification of SettingsSection

This commit is contained in:
Dean Herbert 2021-05-13 13:45:10 +09:00
parent 47948d7b34
commit cdcbaf4291
3 changed files with 6 additions and 5 deletions

View File

@ -15,8 +15,9 @@ namespace osu.Game.Screens.Edit
{
private const int header_height = 50;
protected FillFlowContainer Flow;
protected abstract string Header { get; }
protected abstract string HeaderText { get; }
protected FillFlowContainer Flow { get; private set; }
[BackgroundDependencyLoader]
private void load(OverlayColourProvider colours)
@ -36,7 +37,7 @@ namespace osu.Game.Screens.Edit
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Text = Header,
Text = HeaderText,
Font = new FontUsage(size: 25, weight: "bold")
}
},

View File

@ -14,7 +14,7 @@ namespace osu.Game.Screens.Edit.Verify
[Resolved]
private VerifyScreen verify { get; set; }
protected override string Header => "Interpretation";
protected override string HeaderText => "Interpretation";
private Bindable<DifficultyRating> interpretedDifficulty;

View File

@ -24,7 +24,7 @@ namespace osu.Game.Screens.Edit.Verify
private BindableList<IssueType> hiddenIssueTypes;
protected override string Header => "Visibility";
protected override string HeaderText => "Visibility";
[BackgroundDependencyLoader]
private void load(OverlayColourProvider colours)