From 22221ae4f66404644ca748d7ce59c0fa5325032d Mon Sep 17 00:00:00 2001 From: ailurux Date: Sat, 8 Jul 2023 12:59:17 +1000 Subject: Blue menu indicator --- src/ui/screen_track_browser.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ui/screen_track_browser.cpp') diff --git a/src/ui/screen_track_browser.cpp b/src/ui/screen_track_browser.cpp index 93ca277e..38a361bf 100644 --- a/src/ui/screen_track_browser.cpp +++ b/src/ui/screen_track_browser.cpp @@ -165,6 +165,7 @@ auto TrackBrowser::AddResults(Position pos, text = "[ no data ]"; } lv_obj_t* item = lv_list_add_btn(list_, NULL, text->c_str()); + lv_obj_set_style_bg_color(item, lv_palette_main(LV_PALETTE_BLUE), LV_PART_MAIN | LV_STATE_FOCUSED); lv_obj_add_event_cb(item, item_click_cb, LV_EVENT_CLICKED, this); lv_obj_add_event_cb(item, item_select_cb, LV_EVENT_FOCUSED, this); lv_group_add_obj(group_, item); -- cgit v1.2.3