mirror of
https://github.com/k4zmu2a/SpaceCadetPinball.git
synced 2024-11-24 01:40:18 +01: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::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 a new issue