Fix #7626
This commit is contained in:
parent
29652b628d
commit
a3ea96d387
1 changed files with 3 additions and 0 deletions
|
@ -188,6 +188,8 @@ public class RouteLayer extends OsmandMapLayer implements ContextMenuLayer.ICont
|
|||
drawLocations(tileBox, canvas, topLatitude + lat, leftLongitude - lon, bottomLatitude - lat, rightLongitude + lon);
|
||||
|
||||
if (trackChartPoints != null) {
|
||||
canvas.rotate(-tileBox.getRotate(), tileBox.getCenterPixelX(), tileBox.getCenterPixelY());
|
||||
|
||||
drawXAxisPoints(canvas, tileBox);
|
||||
LatLon highlightedPoint = trackChartPoints.getHighlightedPoint();
|
||||
if (highlightedPoint != null
|
||||
|
@ -203,6 +205,7 @@ public class RouteLayer extends OsmandMapLayer implements ContextMenuLayer.ICont
|
|||
(int) y + selectedPoint.getIntrinsicHeight() / 2);
|
||||
selectedPoint.draw(canvas);
|
||||
}
|
||||
canvas.rotate(tileBox.getRotate(), tileBox.getCenterPixelX(), tileBox.getCenterPixelY());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue