mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-14 19:25:18 -05:00
Fixed the keyboard shortcut for show menu
This commit is contained in:
parent
b843e9a6cb
commit
89f4b6d535
1 changed files with 4 additions and 1 deletions
|
@ -360,7 +360,7 @@ void winmain::RenderUi()
|
|||
|
||||
if (ImGui::BeginMenu("Options"))
|
||||
{
|
||||
if (ImGui::MenuItem("Show Menu", "F5", options::Options.ShowMenu))
|
||||
if (ImGui::MenuItem("Show Menu", "F9", options::Options.ShowMenu))
|
||||
{
|
||||
options::toggle(Menu1::Show_Menu);
|
||||
}
|
||||
|
@ -584,6 +584,9 @@ int winmain::event_handler(const SDL_Event* event)
|
|||
pause();
|
||||
options::keyboard();
|
||||
break;
|
||||
case SDLK_F0:
|
||||
options::toggle(Menu1::Show_Menu);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue