2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Fix location thumb image sizes

This commit is contained in:
John Preston
2018-10-16 12:05:32 +03:00
parent 3cdfa1014a
commit f2866442d2
4 changed files with 8 additions and 18 deletions

View File

@@ -1245,11 +1245,11 @@ std::optional<Storage::Cache::Key> GeoPointImage::cacheKey() const {
}
int GeoPointImage::countWidth() const {
return _location.width;
return _location.width * _location.scale;
}
int GeoPointImage::countHeight() const {
return _location.height;
return _location.height * _location.scale;
}
void GeoPointImage::setInformation(int size, int width, int height) {