mirror of
https://github.com/tumic0/GPXSee.git
synced 2025-01-18 19:52:09 +01:00
Fixed broken marker date when time graphs are selected
This commit is contained in:
parent
294d26a173
commit
7e41069cde
@ -304,7 +304,7 @@ void PathItem::setMarkerInfo(qreal pos)
|
||||
void PathItem::updateMarkerInfo()
|
||||
{
|
||||
qreal pos = _graph ? (_graph->graphType() == Time)
|
||||
? _graph->distanceAtTime(_markerDistance) : _markerDistance : NAN;
|
||||
? _graph->timeAtDistance(_markerDistance) : _markerDistance : NAN;
|
||||
setMarkerInfo(pos);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user