1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-07 23:33:15 +02:00

allows resizing window in windowed mode

This commit is contained in:
Laserlicht
2025-08-31 13:15:55 +02:00
parent 759f207d8a
commit f10f9768a5
8 changed files with 28 additions and 15 deletions

View File

@@ -97,7 +97,7 @@ void InputSourceKeyboard::handleEventKeyDown(const SDL_KeyboardEvent & key)
{
Settings full = settings.write["video"]["fullscreen"];
full->Bool() = !full->Bool();
ENGINE->onScreenResize(true);
ENGINE->onScreenResize(true, false);
}
if (vstd::contains(shortcutsVector, EShortcut::SPECTATE_TRACK_HERO))