- 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 drfrag
parent 3c38a18b0c
commit 028ce8e636

View file

@ -607,7 +607,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)
{