mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 07:06:35 +09:00
Added ability to reset all mods by pressing 1 as present on stable.
This commit is contained in:
@ -57,7 +57,11 @@ namespace osu.Game.Overlays.Mods
|
||||
|
||||
protected override bool OnKeyDown(KeyDownEvent e)
|
||||
{
|
||||
if (ToggleKeys != null)
|
||||
if(e.Key == Key.Number1)
|
||||
{
|
||||
DeselectAll();
|
||||
}
|
||||
else if (ToggleKeys != null)
|
||||
{
|
||||
var index = Array.IndexOf(ToggleKeys, e.Key);
|
||||
if (index > -1 && index < buttons.Length)
|
||||
|
Reference in New Issue
Block a user