diff --git a/src/main/java/de/dennisguse/opentracks/chart/ChartView.java b/src/main/java/de/dennisguse/opentracks/chart/ChartView.java index d51155444..ecd3fcd30 100644 --- a/src/main/java/de/dennisguse/opentracks/chart/ChartView.java +++ b/src/main/java/de/dennisguse/opentracks/chart/ChartView.java @@ -636,7 +636,7 @@ private void drawMarker(Canvas canvas) { canvas.save(); float x = getX(getMarkerXValue(marker)); canvas.drawLine(x, (float)(topBorder) + spacer + markerHeight / 2, x, (float)(topBorder) + effectiveHeight, markerPaint); - canvas.translate(x - (markerWidth * MARKER_X_ANCHOR), (float)(topBorder) + spacer); + canvas.translate(x - (markerWidth * MARKER_X_ANCHOR), (float)(topBorder + spacer)); markerPin.draw(canvas); canvas.restore();