mirror of
https://github.com/ppy/osu
synced 2025-01-06 22:30:12 +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.Up:
|
||||||
case Key.Down:
|
case Key.Down:
|
||||||
return false;
|
return false;
|
||||||
|
case Key.KeypadEnter:
|
||||||
case Key.Enter:
|
case Key.Enter:
|
||||||
if (!AllowCommit) return false;
|
if (!AllowCommit) return false;
|
||||||
break;
|
break;
|
||||||
|
@ -78,7 +78,7 @@ namespace osu.Game.Overlays.Dialog
|
|||||||
{
|
{
|
||||||
if (args.Repeat) return false;
|
if (args.Repeat) return false;
|
||||||
|
|
||||||
if (args.Key == Key.Enter)
|
if (args.Key == Key.Enter || args.Key == Key.KeypadEnter)
|
||||||
{
|
{
|
||||||
Buttons.OfType<PopupDialogOkButton>().FirstOrDefault()?.TriggerOnClick();
|
Buttons.OfType<PopupDialogOkButton>().FirstOrDefault()?.TriggerOnClick();
|
||||||
return true;
|
return true;
|
||||||
|
@ -371,6 +371,7 @@ namespace osu.Game.Screens.Select
|
|||||||
|
|
||||||
switch (args.Key)
|
switch (args.Key)
|
||||||
{
|
{
|
||||||
|
case Key.KeypadEnter:
|
||||||
case Key.Enter:
|
case Key.Enter:
|
||||||
raiseSelect();
|
raiseSelect();
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user