mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-01-17 22:38:38 +01:00
Add shortcut to toggle fullscreen
This commit is contained in:
parent
7bb8344d3b
commit
bc51bdf634
@ -1459,6 +1459,9 @@ void GameView::OnKeyPress(int key, int scan, bool repeat, bool shift, bool ctrl,
|
||||
else
|
||||
introText = 0;
|
||||
break;
|
||||
case SDL_SCANCODE_F11:
|
||||
ui::Engine::Ref().SetFullscreen(!ui::Engine::Ref().GetFullscreen());
|
||||
break;
|
||||
case SDL_SCANCODE_H:
|
||||
if(ctrl)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user