mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-10 22:31:40 +02:00
save only adventure map zoom
This commit is contained in:
@@ -138,8 +138,11 @@ void MapViewController::modifyTileSize(int stepsChange, bool useDeadZone)
|
||||
|
||||
setTileSize(actualZoom, false);
|
||||
|
||||
Settings tileZoom = persistentStorage.write["tileZoom"];
|
||||
tileZoom->Integer() = actualZoom.x;
|
||||
if (adventureContext)
|
||||
{
|
||||
Settings tileZoom = persistentStorage.write["tileZoom"];
|
||||
tileZoom->Integer() = actualZoom.x;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user