Remove highlighted/mentioned words

This commit is contained in:
Craftplacer
2020-01-19 17:26:43 +01:00
parent 32c2023517
commit dd5478fe1f
4 changed files with 1 additions and 65 deletions

View File

@ -1,27 +0,0 @@
// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
using osu.Framework.Allocation;
using osu.Framework.Graphics;
using osu.Game.Configuration;
namespace osu.Game.Overlays.Settings.Sections.Online
{
public class InGameChatSettings : SettingsSubsection
{
protected override string Header => "In-Game Chat";
[BackgroundDependencyLoader]
private void load(OsuConfigManager config)
{
Children = new Drawable[]
{
new SettingsTextBox
{
LabelText = "Chat highlight words (space-separated list)",
Bindable = config.GetBindable<string>(OsuSetting.HighlightWords)
}
};
}
}
}

View File

@ -17,8 +17,7 @@ namespace osu.Game.Overlays.Settings.Sections
Children = new Drawable[]
{
new WebSettings(),
new AlertsAndPrivacySettings(),
new InGameChatSettings()
new AlertsAndPrivacySettings()
};
}
}