mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-22 02:32:39 +01:00
Fixed the keyboard shortcut for show menu
This commit is contained in:
parent
b843e9a6cb
commit
89f4b6d535
@ -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 New Issue
Block a user