mirror of
https://github.com/ppy/osu
synced 2025-02-15 09:37:07 +00:00
Tidy up specification of SettingsSection
This commit is contained in:
parent
47948d7b34
commit
cdcbaf4291
@ -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")
|
||||
}
|
||||
},
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user