mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-07-31 21:50:18 +02:00
Add shortcut to toggle fullscreen
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user