mirror of
https://github.com/ppy/osu
synced 2025-01-18 20:10:49 +00:00
Take IssueList
in IssueSettings
constructor
We'll be using this for bindables later.
This commit is contained in:
parent
97bd482d4d
commit
d3c1ec55ee
@ -8,7 +8,11 @@ namespace osu.Game.Screens.Edit.Verify
|
||||
{
|
||||
public class IssueSettings : Settings
|
||||
{
|
||||
private readonly IssueList issueList;
|
||||
|
||||
public IssueSettings(IssueList issueList)
|
||||
{
|
||||
this.issueList = issueList;
|
||||
}
|
||||
|
||||
protected override IReadOnlyList<Drawable> CreateSections() => new Drawable[]
|
||||
|
@ -30,6 +30,8 @@ namespace osu.Game.Screens.Edit.Verify
|
||||
[BackgroundDependencyLoader]
|
||||
private void load()
|
||||
{
|
||||
IssueList issueList;
|
||||
|
||||
Child = new Container
|
||||
{
|
||||
RelativeSizeAxes = Axes.Both,
|
||||
@ -45,8 +47,8 @@ namespace osu.Game.Screens.Edit.Verify
|
||||
{
|
||||
new Drawable[]
|
||||
{
|
||||
new IssueList(),
|
||||
new IssueSettings(),
|
||||
issueList = new IssueList(),
|
||||
new IssueSettings(issueList),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user