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:
@@ -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) {
|
||||
|
Reference in New Issue
Block a user