diff options
| author | krolxon <krolyxon@tutanota.com> | 2024-04-26 21:12:41 +0530 |
|---|---|---|
| committer | krolxon <krolyxon@tutanota.com> | 2024-04-26 21:12:41 +0530 |
| commit | 8269766147962df1fce10c6617baf7d5d9300f40 (patch) | |
| tree | 3fd136279e484a5023549a25c571edc579fa73b0 /src/ui.rs | |
| parent | ba154a307e5b28e8131d1c3d98847c5710b4ecc8 (diff) | |
delete this random (L) function, add comments
Diffstat (limited to 'src/ui.rs')
| -rwxr-xr-x | src/ui.rs | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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(">>") |
