mirror of
https://github.com/ppy/osu.git
synced 2025-02-20 01:33:12 +08: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;
|
private const int header_height = 50;
|
||||||
|
|
||||||
protected FillFlowContainer Flow;
|
protected abstract string HeaderText { get; }
|
||||||
protected abstract string Header { get; }
|
|
||||||
|
protected FillFlowContainer Flow { get; private set; }
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OverlayColourProvider colours)
|
private void load(OverlayColourProvider colours)
|
||||||
@ -36,7 +37,7 @@ namespace osu.Game.Screens.Edit
|
|||||||
{
|
{
|
||||||
Anchor = Anchor.CentreLeft,
|
Anchor = Anchor.CentreLeft,
|
||||||
Origin = Anchor.CentreLeft,
|
Origin = Anchor.CentreLeft,
|
||||||
Text = Header,
|
Text = HeaderText,
|
||||||
Font = new FontUsage(size: 25, weight: "bold")
|
Font = new FontUsage(size: 25, weight: "bold")
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -14,7 +14,7 @@ namespace osu.Game.Screens.Edit.Verify
|
|||||||
[Resolved]
|
[Resolved]
|
||||||
private VerifyScreen verify { get; set; }
|
private VerifyScreen verify { get; set; }
|
||||||
|
|
||||||
protected override string Header => "Interpretation";
|
protected override string HeaderText => "Interpretation";
|
||||||
|
|
||||||
private Bindable<DifficultyRating> interpretedDifficulty;
|
private Bindable<DifficultyRating> interpretedDifficulty;
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ namespace osu.Game.Screens.Edit.Verify
|
|||||||
|
|
||||||
private BindableList<IssueType> hiddenIssueTypes;
|
private BindableList<IssueType> hiddenIssueTypes;
|
||||||
|
|
||||||
protected override string Header => "Visibility";
|
protected override string HeaderText => "Visibility";
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OverlayColourProvider colours)
|
private void load(OverlayColourProvider colours)
|
||||||
|
Loading…
Reference in New Issue
Block a user