1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-01-11 18:00:34 +00:00

dialog navigation enabled for mobiles

This commit is contained in:
Zeno Rogue 2018-07-23 05:15:11 +02:00
parent b502b7025d
commit ba92dd4b32

View File

@ -398,7 +398,6 @@ namespace dialog {
} }
void handleNavigation(int &sym, int &uni) { void handleNavigation(int &sym, int &uni) {
#if !ISMOBILE
if(uni == '\n' || uni == '\r' || sym == SDLK_KP5) if(uni == '\n' || uni == '\r' || sym == SDLK_KP5)
for(int i=0; i<isize(items); i++) for(int i=0; i<isize(items); i++)
if(isitem(items[i])) if(isitem(items[i]))
@ -455,7 +454,6 @@ namespace dialog {
sym = uni = 0; sym = uni = 0;
return; return;
} }
#endif
} }
unsigned int colorhistory[10] = { unsigned int colorhistory[10] = {