1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2024-09-18 17:59:38 +00:00

always see the keys in editors

This commit is contained in:
Zeno Rogue 2024-06-29 10:58:43 +02:00
parent 003529f20e
commit 2d89a028ac

View File

@ -1490,6 +1490,9 @@ EX namespace mapeditor {
void editor_menu(int i) {
cmode |= sm::DIALOG_STRICT_X;
/** the user probably wants to always see the keys */
mousing = false;
if(i == 1) dialog::init(XLAT("map editor"));
if(i == 2) dialog::init(XLAT("shape editor"));
if(i == 3) dialog::init(intexture ? XLAT("texture editor") : XLAT("drawing tool"));