fix(lua): send EVT_VIRTUAL_EXIT only on short EXIT press (#2573)
Fixes #2436
This commit is contained in:
@@ -145,6 +145,7 @@ void LuaEventHandler::onCancel()
|
||||
|
||||
void LuaEventHandler::onEvent(event_t event)
|
||||
{
|
||||
if (event == EVT_KEY_LONG(KEY_EXIT)) killEvents(KEY_EXIT);
|
||||
luaPushEvent(event);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user