Updated libopenui

This commit is contained in:
jfrickmann
2021-08-26 10:49:45 -04:00
parent 16d2df6a44
commit 5fd78ce0d7
3 changed files with 4 additions and 24 deletions
+3 -2
View File
@@ -729,9 +729,10 @@ static int luaLcdSetColor(lua_State *L)
unsigned int index = COLOR_VAL(luaL_checkunsigned(L, 1));
LcdFlags flags = luaL_checkunsigned(L, 2);
if (index < LCD_COLOR_COUNT)
if (index < LCD_COLOR_COUNT) {
lcdColorTable[index] = COLOR_VAL(flagsRGB(flags));
OpenTxTheme::instance()->update();
}
return 0;
}