From 8269766147962df1fce10c6617baf7d5d9300f40 Mon Sep 17 00:00:00 2001 From: krolxon Date: Fri, 26 Apr 2024 21:12:41 +0530 Subject: delete this random (L) function, add comments --- src/ui.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/ui.rs') diff --git a/src/ui.rs b/src/ui.rs index 76a39ee..2010362 100755 --- a/src/ui.rs +++ b/src/ui.rs @@ -78,6 +78,7 @@ fn draw_directory_browser(frame: &mut Frame, app: &mut App, size: Rect) { Style::new() .fg(Color::Cyan) .bg(Color::Black) + .add_modifier(Modifier::BOLD) .add_modifier(Modifier::REVERSED), ) .highlight_symbol(">>") @@ -103,10 +104,10 @@ fn draw_queue(frame: &mut Frame, app: &mut App, size: Rect) { Style::new() .fg(Color::Cyan) .bg(Color::Black) + .add_modifier(Modifier::BOLD) .add_modifier(Modifier::REVERSED), ) - .highlight_symbol(">>") - .repeat_highlight_symbol(true); + .highlight_symbol(">>"); queue_state.select(Some(app.queue_list.index)); frame.render_stateful_widget(list, size, &mut queue_state); @@ -129,6 +130,7 @@ fn draw_playlists(frame: &mut Frame, app: &mut App, size: Rect) { Style::new() .fg(Color::Cyan) .bg(Color::Black) + .add_modifier(Modifier::BOLD) .add_modifier(Modifier::REVERSED), ) .highlight_symbol(">>") -- cgit v1.2.3