mirror of
https://github.com/ppy/osu
synced 2025-01-04 21:30:08 +00:00
Merge branch 'master' into timingchange-rework
This commit is contained in:
commit
f2cac17188
@ -45,6 +45,7 @@ namespace osu.Game.Graphics.UserInterface
|
||||
case Key.Up:
|
||||
case Key.Down:
|
||||
return false;
|
||||
case Key.KeypadEnter:
|
||||
case Key.Enter:
|
||||
if (!AllowCommit) return false;
|
||||
break;
|
||||
|
@ -78,7 +78,7 @@ namespace osu.Game.Overlays.Dialog
|
||||
{
|
||||
if (args.Repeat) return false;
|
||||
|
||||
if (args.Key == Key.Enter)
|
||||
if (args.Key == Key.Enter || args.Key == Key.KeypadEnter)
|
||||
{
|
||||
Buttons.OfType<PopupDialogOkButton>().FirstOrDefault()?.TriggerOnClick();
|
||||
return true;
|
||||
|
@ -371,6 +371,7 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
switch (args.Key)
|
||||
{
|
||||
case Key.KeypadEnter:
|
||||
case Key.Enter:
|
||||
raiseSelect();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user