mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2023-12-30 21:52:56 +00: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::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);
|
options::toggle(Menu1::Show_Menu);
|
||||||
}
|
}
|
||||||
@ -584,6 +584,9 @@ int winmain::event_handler(const SDL_Event* event)
|
|||||||
pause();
|
pause();
|
||||||
options::keyboard();
|
options::keyboard();
|
||||||
break;
|
break;
|
||||||
|
case SDLK_F0:
|
||||||
|
options::toggle(Menu1::Show_Menu);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user