mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-01-05 19:39:04 +00:00
fixes to keyboard in search-for-setting
This commit is contained in:
@@ -4203,7 +4203,6 @@ EX void find_parameter() {
|
||||
gamescreen();
|
||||
|
||||
dialog::init(XLAT("find a setting"));
|
||||
if(dialog::infix != "") mouseovers = dialog::infix;
|
||||
|
||||
dialog::start_list(900, 900, '1');
|
||||
|
||||
@@ -4221,13 +4220,15 @@ EX void find_parameter() {
|
||||
dialog::end_list();
|
||||
|
||||
dialog::addBreak(100);
|
||||
dialog::addInfo(XLAT("press letters to search"));
|
||||
add_edit(dialog::onscreen_keyboard);
|
||||
|
||||
if(dialog::onscreen_keyboard) dialog::setting_keyboard();
|
||||
|
||||
dialog::addSelItem(XLAT("matching items"), its(found), 0);
|
||||
dialog::display();
|
||||
|
||||
if(dialog::infix != "") mouseovers = dialog::infix;
|
||||
|
||||
keyhandler = [] (int sym, int uni) {
|
||||
dialog::handleNavigation(sym, uni);
|
||||
if(dialog::editInfix(sym, uni)) dialog::list_skip = 0;
|
||||
|
||||
Reference in New Issue
Block a user