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,8 +138,11 @@ void MapViewController::modifyTileSize(int stepsChange, bool useDeadZone)
|
|||||||
|
|
||||||
setTileSize(actualZoom, false);
|
setTileSize(actualZoom, false);
|
||||||
|
|
||||||
Settings tileZoom = persistentStorage.write["tileZoom"];
|
if (adventureContext)
|
||||||
tileZoom->Integer() = actualZoom.x;
|
{
|
||||||
|
Settings tileZoom = persistentStorage.write["tileZoom"];
|
||||||
|
tileZoom->Integer() = actualZoom.x;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user