We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 380a2ed commit e49aff7Copy full SHA for e49aff7
source/blocks.cpp
@@ -254,7 +254,7 @@ void slots_list::draw_list(void)
254
buttons[BUTTON_ARROW_DOWN].draw();
255
256
const unsigned int names_per_screen = 7;
257
- if(this->selected_backup == this->scroll-1)
+ if(this->selected_backup == this->scroll-1 || this->backups.size()-this->scroll+1 < names_per_screen)
258
this->scroll--;
259
else if(this->backups.size()-this->scroll >= names_per_screen)
260
{
0 commit comments