Skip to content

Commit

Permalink
fix(table) remove unnecessary invalidation on pressing
Browse files Browse the repository at this point in the history
  • Loading branch information
kisvegabor committed Sep 29, 2021
1 parent a4128a8 commit 6f90f9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/widgets/lv_table.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
table->col_act = col;
table->row_act = row;
lv_obj_invalidate(obj);
}
lv_obj_invalidate(obj);
}
else if(code == LV_EVENT_RELEASED) {
lv_obj_invalidate(obj);
Expand Down

0 comments on commit 6f90f9c

Please sign in to comment.