We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f933c77 + 34a19b2 commit 1f9465eCopy full SHA for 1f9465e
src/ui/page_playback.c
@@ -325,6 +325,10 @@ static void update_page() {
325
}
326
327
static void update_item(uint8_t cur_pos, uint8_t lst_pos) {
328
+ if (cur_pos == lst_pos) {
329
+ return;
330
+ }
331
+
332
lv_obj_clear_flag(pb_ui[cur_pos]._arrow, LV_OBJ_FLAG_HIDDEN);
333
lv_obj_remove_style(pb_ui[cur_pos]._img, &style_pb_dark, LV_PART_MAIN);
334
lv_obj_add_style(pb_ui[cur_pos]._img, &style_pb, LV_PART_MAIN);
0 commit comments