1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

Merge pull request #2163 from IvanSavenko/adventure_map_zoom

Adventure map zoom
This commit is contained in:
Ivan Savenko
2023-05-20 13:35:53 +03:00
committed by GitHub
16 changed files with 109 additions and 8 deletions

View File

@@ -152,6 +152,11 @@ void MapView::onViewWorldActivated(uint32_t tileSize)
controller->setTileSize(Point(tileSize, tileSize));
}
void MapView::onMapZoomLevelChanged(int stepsChange)
{
controller->modifyTileSize(stepsChange);
}
void MapView::onViewMapActivated()
{
controller->activateAdventureContext();