mirror of
https://github.com/osukey/osukey.git
synced 2025-08-02 14:17:06 +09:00
Take IssueList
in IssueSettings
constructor
We'll be using this for bindables later.
This commit is contained in:
@ -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),
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user