mirror of
https://github.com/lvgl/lvgl.git
synced 2026-05-28 22:30:49 +08:00
fix(table) remove unnecessary invalidation on pressing
This commit is contained in:
@@ -503,8 +503,8 @@ static void lv_table_event(const lv_obj_class_t * class_p, lv_event_t * e)
|
|||||||
if(pr_res == LV_RES_OK && (table->col_act != col || table->row_act != row)) {
|
if(pr_res == LV_RES_OK && (table->col_act != col || table->row_act != row)) {
|
||||||
table->col_act = col;
|
table->col_act = col;
|
||||||
table->row_act = row;
|
table->row_act = row;
|
||||||
|
lv_obj_invalidate(obj);
|
||||||
}
|
}
|
||||||
lv_obj_invalidate(obj);
|
|
||||||
}
|
}
|
||||||
else if(code == LV_EVENT_RELEASED) {
|
else if(code == LV_EVENT_RELEASED) {
|
||||||
lv_obj_invalidate(obj);
|
lv_obj_invalidate(obj);
|
||||||
|
|||||||
Reference in New Issue
Block a user