Skip to content

Commit

Permalink
Merge pull request #45 from darkxex/master
Browse files Browse the repository at this point in the history
Fix
  • Loading branch information
darkxex authored Feb 15, 2022
2 parents 8c835c4 + 3c74e15 commit 413ecea
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion source/gui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,9 @@ namespace GUI {
toggleOC();
}
}
if (button == SDL_KEY_MINUS){
//exchanged the minus for the plus.
//to avoid the crash of the integrated keyboard.
if (button == SDL_KEY_PLUS){
if(item.state == MENU_STATE_PLAYER && !item.masterlock){
item.state = item.laststate;
}else if(item.state != MENU_STATE_PLAYER && !libmpv->Stopped()){
Expand Down

0 comments on commit 413ecea

Please sign in to comment.