mirror of
https://github.com/tumic0/GPXSee.git
synced 2024-11-24 03:35:53 +01:00
Downscale HiDPI images rather than upscale the standard versions
This commit is contained in:
parent
3b3f06cec8
commit
7bcd5f63bc
@ -446,9 +446,9 @@ void RasterTile::render()
|
||||
QList<TextItem*> textItems;
|
||||
QImage arrows[2];
|
||||
|
||||
arrows[ROAD] = (_ratio >= 2)
|
||||
arrows[ROAD] = (_ratio > 1.0)
|
||||
? QImage(":/map/arrow@2x.png") : QImage(":/map/arrow.png");
|
||||
arrows[WATER] = (_ratio >= 2)
|
||||
arrows[WATER] = (_ratio > 1.0)
|
||||
? QImage(":/map/water-arrow@2x.png") : QImage(":/map/water-arrow.png");
|
||||
|
||||
fetchData(polygons, lines, points);
|
||||
|
Loading…
Reference in New Issue
Block a user