mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-02-26 04:00:49 +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();
|
prepareGeometryChange();
|
||||||
|
|
||||||
_digitalZoom = zoom;
|
_digitalZoom = zoom;
|
||||||
_pen.setWidthF(_width * pow(2, -_digitalZoom));
|
_pen.setWidthF(width() * pow(2, -_digitalZoom));
|
||||||
}
|
}
|
||||||
|
|
||||||
void AreaItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
|
void AreaItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user