1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 17:07:38 +08:00

Merge pull request #8415 from Joehuu/fix-keypad-autoplay-shortcut

Fix autoplay keyboard shortcut not working with keypad enter key
This commit is contained in:
Dan Balasescu 2020-03-24 13:54:03 +09:00 committed by GitHub
commit f676052528
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -56,6 +56,7 @@ namespace osu.Game.Screens.Select
switch (e.Key)
{
case Key.Enter:
case Key.KeypadEnter:
// this is a special hard-coded case; we can't rely on OnPressed (of SongSelect) as GlobalActionContainer is
// matching with exact modifier consideration (so Ctrl+Enter would be ignored).
FinaliseSelection();