1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-20 16:37:40 +00:00

down arrow in menus now works opposite to the up arrow (rolls around)

This commit is contained in:
Zeno Rogue
2020-09-16 14:23:00 +02:00
parent c6ed4ea736
commit 11b1f6dfb0
2 changed files with 5 additions and 1 deletions

View File

@@ -566,8 +566,10 @@ EX namespace dialog {
else if(items[i].body == highlight_text) state = 1;
}
for(int i=0; i<isize(items); i++)
if(isitem(items[i]))
if(isitem(items[i])) {
highlight_text = items[i].body;
break;
}
uni = sym = 0;
}
if(key_actions.count(uni)) {