- fix keyboard repeat events not being sent to menus if TranslateKeyboardEvents is true

This commit is contained in:
Gutawer 2020-11-25 01:23:57 +00:00 committed by Chronos Ouroboros
parent a6a02a2a6c
commit f223005584

View file

@ -637,7 +637,8 @@ bool M_Responder (event_t *ev)
{
// We do our own key repeat handling but still want to eat the
// OS's repeated keys.
return true;
if (CurrentMenu->TranslateKeyboardEvents()) return true;
else return CurrentMenu->CallResponder(ev);
}
else if (ev->subtype == EV_GUI_BackButtonDown || ev->subtype == EV_GUI_BackButtonUp)
{