Skip to content

Commit

Permalink
Fix disappearing navigation box
Browse files Browse the repository at this point in the history
  • Loading branch information
Master92 committed Nov 12, 2024
1 parent 2f12158 commit 34a19b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ui/page_playback.c
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,10 @@ static void update_page() {
}

static void update_item(uint8_t cur_pos, uint8_t lst_pos) {
if (cur_pos == lst_pos) {
return;
}

lv_obj_clear_flag(pb_ui[cur_pos]._arrow, LV_OBJ_FLAG_HIDDEN);
lv_obj_remove_style(pb_ui[cur_pos]._img, &style_pb_dark, LV_PART_MAIN);
lv_obj_add_style(pb_ui[cur_pos]._img, &style_pb, LV_PART_MAIN);
Expand Down

0 comments on commit 34a19b2

Please sign in to comment.