default dialog handler now does panning

This commit is contained in:
Zeno Rogue 2022-10-27 10:33:06 +02:00
parent f606174445
commit 18f571b683
1 changed files with 1 additions and 0 deletions

View File

@ -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();
}