1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-10-06 14:53:21 +02:00

Always show the POI labels in zooms > 25

This commit is contained in:
Martin Tůma 2021-11-02 21:22:42 +01:00
parent 3972bb25e0
commit 9eee3b456f

View File

@ -435,7 +435,8 @@ void RasterTile::processPoints(QList<TextItem*> &textItems)
? 0 : &(point.label.text());
const QImage *img = style.img().isNull() ? 0 : &style.img();
const QFont *fnt = poi
? poiFont(style.textFontSize()) : font(style.textFontSize());
? poiFont(_zoom > 25 ? Style::Normal : style.textFontSize())
: font(style.textFontSize());
const QColor *color = style.textColor().isValid()
? &style.textColor() : &textColor;