#6948 color change

This commit is contained in:
madwasp79 2019-06-27 18:47:36 +03:00
parent a3bd05f457
commit b1d8bb9e19

View file

@ -151,15 +151,15 @@ public class MapTextLayer extends OsmandMapLayer {
paintTextIcon.setStyle(Style.STROKE);
paintTextIcon.setColor(nightMode
? r.getColor(R.color.widgettext_shadow_night)
: r.getColor(R.color.map_widget_dark_stroke));
: Color.WHITE);
paintTextIcon.setStrokeWidth(2);
cv.drawText(text, centerX, centerY, paintTextIcon);
// reset
paintTextIcon.setStrokeWidth(2);
paintTextIcon.setStyle(Style.FILL);
paintTextIcon.setColor(nightMode
? r.getColor(R.color.widgettext_night )
: r.getColor(R.color.map_widget_dark));
? r.getColor(R.color.widgettext_night)
: Color.BLACK);
cv.drawText(text, centerX, centerY, paintTextIcon);
}