starbattle:: no panning in dialog

This commit is contained in:
Zeno Rogue 2020-11-01 20:23:37 +01:00
parent 00f900a04c
commit dcd9345fd8
1 changed files with 1 additions and 1 deletions

View File

@ -360,7 +360,7 @@ void starbattle_puzzle() {
}
keyhandler = [] (int sym, int uni) {
handlePanning(sym, uni);
if(!dialog_shown) handlePanning(sym, uni);
dialog::handleNavigation(sym, uni);
if(among(sym, '-', SDLK_F1) && !holdmouse) push_stop();