1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-12-03 23:19:22 +02:00

Implemented user-selectable UI scaling mode

This commit is contained in:
Ivan Savenko
2023-05-04 23:50:33 +03:00
parent fd3933e589
commit a0f1bf3928
8 changed files with 133 additions and 19 deletions

View File

@@ -811,6 +811,7 @@ void CAdventureMapInterface::onScreenResize()
widget = std::make_shared<CAdventureMapWidget>(shortcuts);
widget->setState(EGameState::MAKING_TURN);
widget->getMapView()->onViewMapActivated();
widget->setPlayer(currentPlayerID);
if (isActive())
widget->activate();