Reverse direction of binding to allow for better abstract class definitions

This commit is contained in:
Dean Herbert
2021-05-12 16:53:49 +09:00
parent 17e3764576
commit d2e0e8ad94
14 changed files with 42 additions and 51 deletions

View File

@ -6,19 +6,12 @@ using osu.Framework.Graphics;
namespace osu.Game.Screens.Edit.Verify
{
public class IssueSettings : RoundedContentEditorScreenSettings
public class IssueSettings : EditorRoundedScreenSettings
{
private readonly IssueList issueList;
public IssueSettings(IssueList issueList)
{
this.issueList = issueList;
}
protected override IReadOnlyList<Drawable> CreateSections() => new Drawable[]
{
new InterpretationSection(issueList),
new VisibilitySection(issueList)
new InterpretationSection(),
new VisibilitySection()
};
}
}