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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user