1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2024-11-30 22:51:16 +01:00

Fixed path marker Z-value issue

This commit is contained in:
Martin Tůma 2019-10-28 15:20:38 +01:00
parent 01d8d917cb
commit 0a1a1ac6be

View File

@ -40,6 +40,7 @@ PathItem::PathItem(const Path &path, Map *map, QGraphicsItem *parent)
_markerDistance = _path.first().first().distance();
_marker = new MarkerItem(this);
_marker->setZValue(1);
_marker->setPos(position(_markerDistance));
setCursor(Qt::ArrowCursor);