feat(color): add Slider & Choice widget option types (#5518)

This commit is contained in:
philmoz
2024-09-11 16:20:37 +10:00
committed by GitHub
parent c3ed4c1f1b
commit ecfa1e1b5b
38 changed files with 165 additions and 258 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ void LvglWidgetObjectBase::pcallSimpleFunc(lua_State *L, int funcRef)
if (funcRef) {
PROTECT_LUA()
{
if (!pcallFunc(L, funcRef, 1)) {
if (!pcallFunc(L, funcRef, 0)) {
lvglManager->luaShowError();
}
}