Fixed issue #126

This commit is contained in:
Stephen White 2019-11-17 14:51:27 +11:00
parent b1ce1f5d33
commit 650f70949e
1 changed files with 10 additions and 0 deletions

View File

@ -271,6 +271,11 @@ bool FileBrowser::BrowsableListView::CheckBrowseNavigation(bool pageOnly)
offset++;
dirty = true;
}
else
{
list->currentIndex = 0;
dirty = true;
}
}
if (inputMappings->BrowseUp())
{
@ -285,6 +290,11 @@ bool FileBrowser::BrowsableListView::CheckBrowseNavigation(bool pageOnly)
offset--;
dirty = true;
}
else
{
list->currentIndex = list->entries.size() - 1;
dirty = true;
}
}
if ((lcdPgUpDown && inputMappings->BrowsePageDownLCD()) || (!lcdPgUpDown && inputMappings->BrowsePageDown()))
{