mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2024-11-30 15:39:54 +00:00
SHIFT/CTRL/ALT keys no longer disable menus in web
This commit is contained in:
parent
f726fe12fb
commit
f34fae5bd8
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user