1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-21 17:11:21 +00:00

try harder to fit editor menu on the screen

This commit is contained in:
Zeno Rogue
2024-07-27 21:05:10 +02:00
parent eb9eac7318
commit 75a73f40b3
3 changed files with 9 additions and 2 deletions

View File

@@ -1615,7 +1615,7 @@ EX namespace mapeditor {
EX void showMapEditor() {
cmode = sm::MAP | sm::PANNING;
if(show_menu) cmode |= sm::SIDE;
if(show_menu) cmode |= sm::DIALOG_OFFMAP;
if(building_mode) {
if(anyshiftclick) cmode |= sm::EDIT_INSIDE_WALLS;
else cmode |= sm::EDIT_BEFORE_WALLS;