Skip to content

Commit

Permalink
chore(skin): P2.4 - Remove the style manager.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Dec 11, 2024
1 parent ae8e896 commit 1f99ef9
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,6 @@ public LyricColorSection()
},
};
}

[BackgroundDependencyLoader]
private void load(StyleManager manager)
{
}
}

public enum ColorArea
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace osu.Game.Rulesets.Karaoke.Screens.Skin.Style;
internal partial class LyricStylePreview : CompositeDrawable
{
[BackgroundDependencyLoader]
private void load(OverlayColourProvider colourProvider, StyleManager manager)
private void load(OverlayColourProvider colourProvider)
{
Masking = true;
CornerRadius = 15;
Expand Down
34 changes: 0 additions & 34 deletions osu.Game.Rulesets.Karaoke/Screens/Skin/Style/StyleManager.cs

This file was deleted.

4 changes: 0 additions & 4 deletions osu.Game.Rulesets.Karaoke/Screens/Skin/Style/StyleScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,9 @@ namespace osu.Game.Rulesets.Karaoke.Screens.Skin.Style;

public partial class StyleScreen : KaraokeSkinEditorScreen
{
[Cached]
protected readonly StyleManager StyleManager;

public StyleScreen(ISkin skin)
: base(skin, KaraokeSkinEditorScreenMode.Style)
{
AddInternal(StyleManager = new StyleManager());
}

protected override Section[] CreateSelectionContainer()
Expand Down

0 comments on commit 1f99ef9

Please sign in to comment.