1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-11 14:49:23 +02:00

save only adventure map zoom

This commit is contained in:
Laserlicht 2025-02-22 16:08:54 +01:00
parent 7beabc44ea
commit a6a6b8c69c

View File

@ -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;
}
}
}