Fix centering roundabout text

This commit is contained in:
Victor Shcherb 2016-08-08 00:24:51 +03:00
parent fe8e76b5b4
commit b79d73137c

View file

@ -185,7 +185,7 @@ public class NextTurnInfoWidget extends TextInfoWidget {
if(textPaint != null ) {
if (turnType != null && !mini && turnType.getExitOut() > 0) {
canvas.drawText(turnType.getExitOut() + "", centerText.x,
centerText.y - textPaint.ascent / 2, textPaint);
centerText.y - textPaint.ascent() / 2, textPaint);
}
}
}