1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-27 14:37:16 +00:00

SHIFT/CTRL/ALT keys no longer disable menus in web

This commit is contained in:
Zeno Rogue 2018-12-13 17:33:49 +01:00
parent f726fe12fb
commit f34fae5bd8

View File

@ -225,6 +225,12 @@ bool doexiton(int sym, int uni) {
if(sym == SDLK_ESCAPE) return true;
if(sym == SDLK_F10) return true;
if(sym == PSEUDOKEY_RELEASE) return false;
if(sym == SDLK_LSHIFT) return false;
if(sym == SDLK_RSHIFT) return false;
if(sym == SDLK_LCTRL) return false;
if(sym == SDLK_RCTRL) return false;
if(sym == SDLK_LALT) return false;
if(sym == SDLK_RALT) return false;
if(uni != 0) return true;
return false;
}