mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-01-12 10:20:32 +00:00
default dialog handler now does panning
This commit is contained in:
parent
f606174445
commit
18f571b683
@ -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 add_action_push_clear(const reaction_t& action) { add_action([action] { clearMessages(); pushScreen(action); }); }
|
||||||
|
|
||||||
EX void handler(int sym, int uni) {
|
EX void handler(int sym, int uni) {
|
||||||
|
if(cmode & sm::PANNING) handlePanning(sym, uni);
|
||||||
dialog::handleNavigation(sym, uni);
|
dialog::handleNavigation(sym, uni);
|
||||||
if(doexiton(sym, uni)) popScreen();
|
if(doexiton(sym, uni)) popScreen();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user