#6948 color change
This commit is contained in:
parent
a3bd05f457
commit
b1d8bb9e19
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue