1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-24 03:35:53 +01:00

Better Z-value handling

This commit is contained in:
Martin Tůma 2016-09-11 13:43:33 +02:00
parent 1827787fc2
commit eeed5ceba3
2 changed files with 2 additions and 2 deletions

View File

@ -140,7 +140,7 @@ void RouteItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Q_UNUSED(event);
_pen.setWidthF(HOVER_WIDTH * 1.0/scale());
setZValue(1.0);
setZValue(3.0);
update();
}

View File

@ -119,7 +119,7 @@ void TrackItem::hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Q_UNUSED(event);
_pen.setWidthF(HOVER_WIDTH * 1.0/scale());
setZValue(1.0);
setZValue(3.0);
update();
}