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

Fix graphical artifacts on map scaling

This commit is contained in:
Ivan Savenko
2023-05-19 17:09:46 +03:00
parent 872b68c59a
commit 1c82a10fdd
3 changed files with 6 additions and 4 deletions

View File

@@ -36,8 +36,7 @@ void MapViewModel::setLevel(int newLevel)
Point MapViewModel::getSingleTileSizeUpperLimit() const
{
// arbitrary-seleted upscaling limit
// TODO: figure out reason behind graphical artifacts on scaling higher than 120px (375%)
return Point(120, 120);
return Point(256, 256);
}
Point MapViewModel::getSingleTileSizeLowerLimit() const