fix(table): add missing invalidation when changeing cell type

fixes https://forum.lvgl.io/t/bug-of-table-click-to-change-style/3842
This commit is contained in:
Gabor Kiss-Vamosi
2020-11-27 11:14:36 +01:00
parent 6c62a8eeb5
commit 87e26d4997
2 changed files with 3 additions and 0 deletions
+1
View File
@@ -20,6 +20,7 @@
- fix reference to LV_DRAW_BUF_MAX_NUM in lv_mem.c
- fix(polygon draw) join adjacent points if they are on the same coordinate
- fix(linemeter) fix invalidation when setting new value
- fix(table) add missing invalidation when changeing cell type
## v7.7.2 (17.11.2020)
### Bugfixes
+2
View File
@@ -467,6 +467,8 @@ void lv_table_set_cell_type(lv_obj_t * table, uint16_t row, uint16_t col, uint8_
ext->cell_data[cell][0] = format.format_byte;
ext->cell_types |= 1 << type;
lv_obj_invalidate(table);
}
/**