mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-15 10:35:11 -04:00
Merge pull request #643 from Fam0r/master
Make keypad enter behave like the enter key in the launcher
This commit is contained in:
commit
c4e84d4ed9
@ -96,7 +96,7 @@ static void LScreen_HandleTab(struct LScreen* s) {
|
||||
static void LScreen_KeyDown(struct LScreen* s, int key, cc_bool was) {
|
||||
if (key == KEY_TAB) {
|
||||
LScreen_HandleTab(s);
|
||||
} else if (key == KEY_ENTER) {
|
||||
} else if (key == KEY_ENTER || key == KEY_KP_ENTER) {
|
||||
/* Shouldn't multi click when holding down Enter */
|
||||
if (was) return;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user