mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 20:21:26 +00:00
- fix keyboard repeat events not being sent to menus if TranslateKeyboardEvents is true
This commit is contained in:
parent
a6a02a2a6c
commit
f223005584
1 changed files with 2 additions and 1 deletions
|
@ -637,7 +637,8 @@ bool M_Responder (event_t *ev)
|
||||||
{
|
{
|
||||||
// We do our own key repeat handling but still want to eat the
|
// We do our own key repeat handling but still want to eat the
|
||||||
// OS's repeated keys.
|
// 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)
|
else if (ev->subtype == EV_GUI_BackButtonDown || ev->subtype == EV_GUI_BackButtonUp)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue