mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-17 01:32:21 +02:00
Fixed UI updates on switching to/from fullscreen
This commit is contained in:
@ -121,6 +121,8 @@ void InputHandler::preprocessEvent(const SDL_Event & ev)
|
||||
{
|
||||
Settings full = settings.write["video"]["fullscreen"];
|
||||
full->Bool() = !full->Bool();
|
||||
|
||||
GH.onScreenResize();
|
||||
return;
|
||||
}
|
||||
else if(ev.type == SDL_USEREVENT)
|
||||
|
Reference in New Issue
Block a user