mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-03-26 21:37:02 +00:00
go back is now BACKSPACE in Web, except number/string dialogs
This commit is contained in:
parent
eb6cae8810
commit
f2fcbf4b81
@ -64,7 +64,10 @@ EX namespace dialog {
|
||||
EX color_t dialogcolor = 0xC0C0C0;
|
||||
|
||||
EX void addBack() {
|
||||
addItem(XLAT("go back"), ISWEB ? SDLK_BACKSPACE : SDLK_ESCAPE);
|
||||
addItem(XLAT("go back"),
|
||||
(cmode & sm::NUMBER) ? SDLK_RETURN :
|
||||
ISWEB ? SDLK_BACKSPACE :
|
||||
SDLK_ESCAPE);
|
||||
}
|
||||
|
||||
EX void addHelp() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user