Skip to content

Commit

Permalink
Add control to adjust mod select search text box behaviour
Browse files Browse the repository at this point in the history
  • Loading branch information
bdach committed Dec 14, 2023
1 parent 0ab6e18 commit b3a7c7a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions osu.Game/Localisation/UserInterfaceStrings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ public static class UserInterfaceStrings
/// </summary>
public static LocalisableString ModSelectHotkeyStyle => new TranslatableString(getKey(@"mod_select_hotkey_style"), @"Mod select hotkey style");

/// <summary>
/// "Automatically focus search text box in mod select"
/// </summary>
public static LocalisableString ModSelectTextSearchStartsActive => new TranslatableString(getKey(@"mod_select_text_search_starts_active"), @"Automatically focus search text box in mod select");

/// <summary>
/// "no limit"
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,12 @@ private void load(OsuConfigManager config)
ClassicDefault = ModSelectHotkeyStyle.Classic
},
new SettingsCheckbox
{
LabelText = UserInterfaceStrings.ModSelectTextSearchStartsActive,
Current = config.GetBindable<bool>(OsuSetting.ModSelectTextSearchStartsActive),
ClassicDefault = false
},
new SettingsCheckbox
{
LabelText = GameplaySettingsStrings.BackgroundBlur,
Current = config.GetBindable<bool>(OsuSetting.SongSelectBackgroundBlur),
Expand Down

0 comments on commit b3a7c7a

Please sign in to comment.