Skip to content

Commit

Permalink
Remove un-need DI.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Dec 23, 2023
1 parent 421c726 commit 9e3843b
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using osu.Framework.Graphics.Containers;
using osu.Framework.Graphics.Cursor;
using osu.Framework.Graphics.UserInterface;
using osu.Game.Graphics;
using osu.Game.Graphics.Containers;
using osu.Game.Graphics.Sprites;
using osu.Game.Graphics.UserInterface;
Expand Down Expand Up @@ -79,9 +78,6 @@ private partial class SingerCircle : OsuClickableContainer, IHasContextMenu, IHa

private readonly DrawableSingerAvatar singerAvatar;

[Resolved]
private OsuColour colours { get; set; } = null!;

public SingerCircle()
{
RelativeSizeAxes = Axes.X;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
using osu.Framework.Graphics;
using osu.Framework.Graphics.Sprites;
using osu.Framework.Graphics.Textures;
using osu.Framework.Input;
using osu.Game.Graphics.Containers;
using osuTK;

Expand All @@ -26,9 +25,6 @@ public void SetIcon(Drawable icon)
[Resolved]
private TextureStore textures { get; set; } = null!;

[Resolved]
private ReadableKeyCombinationProvider keyCombinationProvider { get; set; } = null!;

public void SetIcon(string texture) =>
SetIcon(new Sprite
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,6 @@ public partial class LyricEditorClipboard : Component, ILyricEditorClipboard
[Resolved]
private ITimeTagModeState timeTagModeState { get; set; } = null!;

[Resolved]
private IEditRomajiModeState editRomajiModeState { get; set; } = null!;

[Resolved]
private ILyricsChangeHandler? lyricsChangeHandler { get; set; }

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using osu.Game.Rulesets.Karaoke.Extensions;
using osu.Game.Rulesets.Karaoke.Objects;
using osu.Game.Rulesets.Karaoke.Screens.Edit.Beatmaps.Lyrics.States.Modes;
using osu.Game.Screens.Edit;

namespace osu.Game.Rulesets.Karaoke.Screens.Edit.Beatmaps.Lyrics.Settings.Romaji;

Expand Down Expand Up @@ -44,9 +43,6 @@ private partial class RomajiTagsEditor : LyricPropertiesEditor
{
private readonly Bindable<RomajiEditPropertyMode> bindableRomajiEditPropertyMode = new();

[Resolved]
private EditorBeatmap beatmap { get; set; } = null!;

public RomajiTagsEditor()
{
bindableRomajiEditPropertyMode.BindValueChanged(e =>
Expand Down

0 comments on commit 9e3843b

Please sign in to comment.