Add setting for changing mod select hotkey style

This commit is contained in:
Bartłomiej Dach
2022-06-21 13:03:46 +02:00
parent 73124d2b1f
commit 5abd8a07d2
4 changed files with 42 additions and 0 deletions

View File

@ -11,6 +11,7 @@ using osu.Framework.Localisation;
using osu.Game.Configuration;
using osu.Game.Graphics.UserInterface;
using osu.Game.Localisation;
using osu.Game.Overlays.Mods.Input;
namespace osu.Game.Overlays.Settings.Sections.UserInterface
{
@ -61,6 +62,12 @@ namespace osu.Game.Overlays.Settings.Sections.UserInterface
{
LabelText = UserInterfaceStrings.RandomSelectionAlgorithm,
Current = config.GetBindable<RandomSelectAlgorithm>(OsuSetting.RandomSelectAlgorithm),
},
new SettingsEnumDropdown<ModSelectHotkeyStyle>
{
LabelText = UserInterfaceStrings.ModSelectHotkeyStyle,
Current = config.GetBindable<ModSelectHotkeyStyle>(OsuSetting.ModSelectHotkeyStyle),
ClassicDefault = ModSelectHotkeyStyle.Classic
}
};
}