mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 06:57:39 +08:00
Merge branch 'master' into better-drawablehitobject-lifetimes
This commit is contained in:
commit
8c0850d679
@ -1 +1 @@
|
||||
Subproject commit e256557defe595032cbc3a9896797fa41d6ee8b6
|
||||
Subproject commit 3dd751659b5f8e3267146db1557ec43d77456b8e
|
@ -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