1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-28 05:34:47 +01:00

Fixed areas digital zoom handling

This commit is contained in:
Martin Tůma 2023-02-14 00:58:44 +01:00
parent dec70f6bfe
commit b7415ca2c9

View File

@ -178,7 +178,7 @@ void AreaItem::setDigitalZoom(int zoom)
prepareGeometryChange();
_digitalZoom = zoom;
_pen.setWidthF(_width * pow(2, -_digitalZoom));
_pen.setWidthF(width() * pow(2, -_digitalZoom));
}
void AreaItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)