Skip to content

Commit

Permalink
Remove the configuration in the editor because:
Browse files Browse the repository at this point in the history
1. it's not that useful.
2. Should see the lyric config effect by mod.
  • Loading branch information
andy840119 committed Mar 24, 2024
1 parent d8d29af commit 3ad5a8c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 40 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,13 @@
// See the LICENCE file in the repository root for full licence text.

using osu.Game.Configuration;
using osu.Game.Rulesets.Karaoke.Graphics.Sprites;

namespace osu.Game.Rulesets.Karaoke.Configuration;

public class KaraokeRulesetEditConfigManager : InMemoryConfigManager<KaraokeRulesetEditSetting>
{
protected override void InitialiseDefaults()
{
base.InitialiseDefaults();

// Lyric display.
SetDefault(KaraokeRulesetEditSetting.DisplayTranslate, true);
}
}

public enum KaraokeRulesetEditSetting
{
// Lyric display type
DisplayTranslate,
}

This file was deleted.

5 changes: 1 addition & 4 deletions osu.Game.Rulesets.Karaoke/Edit/KaraokeHitObjectComposer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,7 @@ protected void CreateMenuBar()
{
new("Config")
{
Items = new MenuItem[]
{
new LyricDisplayPreviewMenuItem(editConfigManager, "Lyric display preview"),
},
Items = Array.Empty<MenuItem>(),
},
new("Tools")
{
Expand Down

0 comments on commit 3ad5a8c

Please sign in to comment.