Fix PageDown doing the same as ArrowDown

This commit is contained in:
Daniel Schulte 2020-11-23 00:02:51 +01:00
parent acfe00ef21
commit aff9adc721
1 changed files with 1 additions and 1 deletions

View File

@ -339,7 +339,7 @@ void action_select_prev_video_page() {
void action_select_next_video_page() { void action_select_next_video_page() {
if(selected_video < current_video_count - 1) if(selected_video < current_video_count - 1)
selected_video++; selected_video += std::min(current_video_count - 1 - selected_video, videos_per_page);
} }
void action_select_first_video() { void action_select_first_video() {