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:
parent
dec70f6bfe
commit
b7415ca2c9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user