mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-30 19:04:51 +00:00
PSEUDOKEY_RELEASE no longer exits dialogs
This commit is contained in:
parent
ac4fb65d30
commit
dd2a99b920
@ -208,6 +208,7 @@ bool quitmainloop = false;
|
|||||||
bool doexiton(int sym, int uni) {
|
bool doexiton(int sym, int uni) {
|
||||||
if(sym == SDLK_ESCAPE) return true;
|
if(sym == SDLK_ESCAPE) return true;
|
||||||
if(sym == SDLK_F10) return true;
|
if(sym == SDLK_F10) return true;
|
||||||
|
if(sym == PSEUDOKEY_RELEASE) return false;
|
||||||
if(uni != 0) return true;
|
if(uni != 0) return true;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user