Skip to content

Commit

Permalink
fix optionsmenu scrolling without paste
Browse files Browse the repository at this point in the history
  • Loading branch information
krazynez committed Oct 24, 2023
1 parent f850e8d commit dacd43d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions extras/menus/arkMenu/src/browser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1594,7 +1594,8 @@ void Browser::optionsMenu(){
common::playMenuSound();
do {
if (pEntryIndex < MAX_OPTIONS-1){
pEntryIndex++;
if(this->clipboard->size()<1 && pEntryIndex == 2) pEntryIndex += 2;
else pEntryIndex++;
}
else{
pEntryIndex = 0;
Expand All @@ -1606,7 +1607,8 @@ void Browser::optionsMenu(){
common::playMenuSound();
do {
if (pEntryIndex > 0){
pEntryIndex--;
if(this->clipboard->size()<1 && pEntryIndex == 4) pEntryIndex -= 2;
else pEntryIndex--;
}
else{
pEntryIndex = MAX_OPTIONS-1;
Expand Down

0 comments on commit dacd43d

Please sign in to comment.