From b4db06dfe3d5e3e32baa46c6624d8f985fe80492 Mon Sep 17 00:00:00 2001 From: crimean Date: Thu, 6 Jun 2019 11:25:29 +0300 Subject: [PATCH] Fix text alignment in roundabout widget --- .../net/osmand/plus/views/mapwidgets/NextTurnInfoWidget.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/mapwidgets/NextTurnInfoWidget.java b/OsmAnd/src/net/osmand/plus/views/mapwidgets/NextTurnInfoWidget.java index 20b4fb69c3..d0aa388446 100644 --- a/OsmAnd/src/net/osmand/plus/views/mapwidgets/NextTurnInfoWidget.java +++ b/OsmAnd/src/net/osmand/plus/views/mapwidgets/NextTurnInfoWidget.java @@ -195,7 +195,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.descent() + textPaint.ascent()) / 2, textPaint); } } }