mirror of
https://github.com/osukey/osukey.git
synced 2025-05-29 09:27:18 +09:00
Move DI resolution to inside BDL parameters
This commit is contained in:
parent
c6648112e5
commit
b81f86bd4d
@ -10,13 +10,10 @@ namespace osu.Game.Screens.Edit.Verify
|
|||||||
{
|
{
|
||||||
internal class InterpretationSection : EditorRoundedScreenSettingsSection
|
internal class InterpretationSection : EditorRoundedScreenSettingsSection
|
||||||
{
|
{
|
||||||
[Resolved]
|
|
||||||
private VerifyScreen verify { get; set; }
|
|
||||||
|
|
||||||
protected override string HeaderText => "Interpretation";
|
protected override string HeaderText => "Interpretation";
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load()
|
private void load(VerifyScreen verify)
|
||||||
{
|
{
|
||||||
Flow.Add(new SettingsEnumDropdown<DifficultyRating>
|
Flow.Add(new SettingsEnumDropdown<DifficultyRating>
|
||||||
{
|
{
|
||||||
|
@ -12,9 +12,6 @@ namespace osu.Game.Screens.Edit.Verify
|
|||||||
{
|
{
|
||||||
internal class VisibilitySection : EditorRoundedScreenSettingsSection
|
internal class VisibilitySection : EditorRoundedScreenSettingsSection
|
||||||
{
|
{
|
||||||
[Resolved]
|
|
||||||
private VerifyScreen verify { get; set; }
|
|
||||||
|
|
||||||
private readonly IssueType[] configurableIssueTypes =
|
private readonly IssueType[] configurableIssueTypes =
|
||||||
{
|
{
|
||||||
IssueType.Warning,
|
IssueType.Warning,
|
||||||
@ -27,7 +24,7 @@ namespace osu.Game.Screens.Edit.Verify
|
|||||||
protected override string HeaderText => "Visibility";
|
protected override string HeaderText => "Visibility";
|
||||||
|
|
||||||
[BackgroundDependencyLoader]
|
[BackgroundDependencyLoader]
|
||||||
private void load(OverlayColourProvider colours)
|
private void load(OverlayColourProvider colours, VerifyScreen verify)
|
||||||
{
|
{
|
||||||
hiddenIssueTypes = verify.HiddenIssueTypes.GetBoundCopy();
|
hiddenIssueTypes = verify.HiddenIssueTypes.GetBoundCopy();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user