mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
save only adventure map zoom
This commit is contained in:
@@ -138,10 +138,13 @@ void MapViewController::modifyTileSize(int stepsChange, bool useDeadZone)
|
||||
|
||||
setTileSize(actualZoom, false);
|
||||
|
||||
if (adventureContext)
|
||||
{
|
||||
Settings tileZoom = persistentStorage.write["tileZoom"];
|
||||
tileZoom->Integer() = actualZoom.x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
MapViewController::MapViewController(std::shared_ptr<MapViewModel> model, std::shared_ptr<MapViewCache> view)
|
||||
: state(new MapRendererContextState())
|
||||
|
||||
Reference in New Issue
Block a user