Skip to content

Commit

Permalink
Merge pull request #198 from solosky/develop
Browse files Browse the repository at this point in the history
2.9.4
  • Loading branch information
solosky authored Jan 13, 2024
2 parents 25a6243 + 168c711 commit 8a02431
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions fw/application/src/mui/view/mui_list_view.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,9 @@ static void mui_list_view_start_text_anim(mui_list_view_t *p_view) {

static void mui_list_view_start_gap_anim(mui_list_view_t *p_view) {
if (mui_list_view_anim_enabled()) {
mui_anim_start(&p_view->gap_anim);
mui_anim_start(&p_view->gap_anim);
} else {
p_view->item_gap = LIST_ITEM_HEIGHT;
}
}

Expand All @@ -50,7 +52,6 @@ static void mui_list_view_gap_anim_exec(void *p, int32_t value) {
p_view->item_gap = value;
}


static void mui_list_view_on_draw(mui_view_t *p_view, mui_canvas_t *p_canvas) {
mui_canvas_set_font(p_canvas, u8g2_font_wqy12_t_gb2312a);
mui_list_view_t *p_mui_list_view = p_view->user_data;
Expand Down

0 comments on commit 8a02431

Please sign in to comment.