Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fixed formatting
  • Loading branch information
Peterwmoss committed Nov 16, 2019
commit bff381c62f0b42024d0016d1e7599e364ba29a12
4 changes: 2 additions & 2 deletions src/handlers/track_table.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,8 @@ pub fn handler(key: Key, app: &mut App) {
if let (Some(playlists), Some(selected_playlist_index)) =
(&app.playlists, &app.selected_playlist_index)
{
if app.playlist_offset >= 20 {
app.playlist_offset -= 20;
if app.playlist_offset >= 20 {
app.playlist_offset -= 20;
};
if let Some(selected_playlist) =
playlists.items.get(selected_playlist_index.to_owned())
Expand Down