1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-09-15 16:54:06 +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

@@ -719,6 +719,10 @@ EX namespace dialog {
dwidth = vid.xres - vid.yres;
dcenter = vid.xres - dwidth / 2;
}
else if(cmode & sm::DIALOG_OFFMAP) {
dwidth = vid.xres / 3;
dcenter = vid.xres * 5 / 6;
}
measure();