Skip to content

Commit

Permalink
Reverted mistakenly changed fullscreen toggle key
Browse files Browse the repository at this point in the history
  • Loading branch information
123jimin committed Jun 9, 2020
1 parent 399fec0 commit cb3a1a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Main/src/Application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1638,7 +1638,7 @@ int Application::IsNamedSamplePlaying(String name)
void Application::m_OnKeyPressed(SDL_Scancode code)
{
// Fullscreen toggle
if (code == SDL_SCANCODE_ESCAPE)
if (code == SDL_SCANCODE_RETURN)
{
if ((g_gameWindow->GetModifierKeys() & ModifierKeys::Alt) == ModifierKeys::Alt)
{
Expand Down

0 comments on commit cb3a1a5

Please sign in to comment.