1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-11-17 10:44:48 +00:00

shift+A now exits the map editor

This commit is contained in:
Zeno Rogue 2022-06-23 13:02:37 +02:00
parent 9497eb31b9
commit 5e27a2cc88

View File

@ -1739,6 +1739,7 @@ EX namespace mapeditor {
if(mouseover) for(int i=0; i<mouseover->type; i++) createMov(mouseover, i);
if(uni == 'u') applyUndo();
else if(uni == 'v' || sym == SDLK_F10 || sym == SDLK_ESCAPE) popScreen();
else if(uni == 'A') popScreen();
else if(uni >= '0' && uni <= '9') radius = uni - '0';
else if(uni == 'm') pushScreen(showList), painttype = 0, dialog::infix = "";
else if(uni == 'i') pushScreen(showList), painttype = 1, dialog::infix = "";
@ -2729,6 +2730,7 @@ EX namespace mapeditor {
}
if(sym == SDLK_F10) popScreen();
else if(uni == 'A') popScreen();
(void)clickused;