fix(lua): Do not pass key event that triggered telemetry view to lua (#4168)

This commit is contained in:
bug400
2023-11-07 09:08:31 +10:00
committed by GitHub
parent 3051f70625
commit 926dc36d51
4 changed files with 18 additions and 14 deletions
+1 -1
View File
@@ -126,7 +126,7 @@ void StandaloneLuaWindow::checkEvents()
if (luaState != INTERPRETER_RELOAD_PERMANENT_SCRIPTS) {
// if LUA finished a full cycle,
// invalidate to display the screen buffer
if (luaTask(0, true)) { invalidate(); }
if (luaTask(true)) { invalidate(); }
}
if (luaState == INTERPRETER_RELOAD_PERMANENT_SCRIPTS) {