Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

Commit

Permalink
casting to float
Browse files Browse the repository at this point in the history
  • Loading branch information
DorreenRostami committed Oct 11, 2023
1 parent 26130df commit 8a37f5f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 8a37f5f

Please sign in to comment.