1
0
mirror of https://github.com/ppy/osu.git synced 2025-03-23 08:27:23 +08:00

Move DI resolution to inside BDL parameters

This commit is contained in:
Dean Herbert 2021-05-13 13:53:27 +09:00
parent c6648112e5
commit b81f86bd4d
2 changed files with 2 additions and 8 deletions

View File

@ -10,13 +10,10 @@ namespace osu.Game.Screens.Edit.Verify
{
internal class InterpretationSection : EditorRoundedScreenSettingsSection
{
[Resolved]
private VerifyScreen verify { get; set; }
protected override string HeaderText => "Interpretation";
[BackgroundDependencyLoader]
private void load()
private void load(VerifyScreen verify)
{
Flow.Add(new SettingsEnumDropdown<DifficultyRating>
{

View File

@ -12,9 +12,6 @@ namespace osu.Game.Screens.Edit.Verify
{
internal class VisibilitySection : EditorRoundedScreenSettingsSection
{
[Resolved]
private VerifyScreen verify { get; set; }
private readonly IssueType[] configurableIssueTypes =
{
IssueType.Warning,
@ -27,7 +24,7 @@ namespace osu.Game.Screens.Edit.Verify
protected override string HeaderText => "Visibility";
[BackgroundDependencyLoader]
private void load(OverlayColourProvider colours)
private void load(OverlayColourProvider colours, VerifyScreen verify)
{
hiddenIssueTypes = verify.HiddenIssueTypes.GetBoundCopy();