mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-11-01 05:24:29 +00:00
default dialog handler now does panning
This commit is contained in:
1 parent
f606174445
commit
18f571b683
1 file changed
+1
@@ -150,6 +150,7 @@ EX namespace dialog {
|
||||
EX void add_action_push_clear(const reaction_t& action) { add_action([action] { clearMessages(); pushScreen(action); }); }
|
||||
|
||||
EX void handler(int sym, int uni) {
|
||||
if(cmode & sm::PANNING) handlePanning(sym, uni);
|
||||
dialog::handleNavigation(sym, uni);
|
||||
if(doexiton(sym, uni)) popScreen();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user