mirror of
https://github.com/osukey/osukey.git
synced 2025-08-05 15:44:04 +09:00
Merge pull request #20393 from smoogipoo/add-keybind-search-term
Add "keybindings" search term to settings
This commit is contained in:
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
#nullable disable
|
#nullable disable
|
||||||
|
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
using osu.Framework.Allocation;
|
using osu.Framework.Allocation;
|
||||||
using osu.Framework.Graphics;
|
using osu.Framework.Graphics;
|
||||||
using osu.Framework.Graphics.Sprites;
|
using osu.Framework.Graphics.Sprites;
|
||||||
@ -20,6 +22,8 @@ namespace osu.Game.Overlays.Settings.Sections
|
|||||||
|
|
||||||
public override LocalisableString Header => InputSettingsStrings.InputSectionHeader;
|
public override LocalisableString Header => InputSettingsStrings.InputSectionHeader;
|
||||||
|
|
||||||
|
public override IEnumerable<LocalisableString> FilterTerms => base.FilterTerms.Concat(new LocalisableString[] { "keybindings" });
|
||||||
|
|
||||||
public override Drawable CreateIcon() => new SpriteIcon
|
public override Drawable CreateIcon() => new SpriteIcon
|
||||||
{
|
{
|
||||||
Icon = FontAwesome.Solid.Keyboard
|
Icon = FontAwesome.Solid.Keyboard
|
||||||
|
Reference in New Issue
Block a user