diff --git a/src/routeitem.cpp b/src/routeitem.cpp index 8608a3d0..fbadb618 100644 --- a/src/routeitem.cpp +++ b/src/routeitem.cpp @@ -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(); } diff --git a/src/trackitem.cpp b/src/trackitem.cpp index 8160bf90..98fc1fda 100644 --- a/src/trackitem.cpp +++ b/src/trackitem.cpp @@ -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(); }