mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-12 05:11:45 +00:00
- fix keyboard repeat events not being sent to menus if TranslateKeyboardEvents is true
This commit is contained in:
parent
3c38a18b0c
commit
028ce8e636
1 changed files with 2 additions and 1 deletions
|
@ -607,7 +607,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