fix color logic
This commit is contained in:
parent
93afffc0ff
commit
5282d1bf67
1 changed files with 1 additions and 1 deletions
|
@ -390,7 +390,7 @@ public class MapInfoLayer extends OsmandMapLayer {
|
|||
boolean textBold = following;
|
||||
int textColor = nightMode ? view.getResources().getColor(R.color.widgettext_night):Color.BLACK;
|
||||
// Night shadowColor always use widgettext_shadow_night, same as widget background color for non-transparent night skin (from box_night_free_simple.9.png)
|
||||
int textShadowColor = transparent && !nightMode? Color.WHITE : view.getResources().getColor(R.color.widgettext_shadow_night);
|
||||
int textShadowColor = nightMode? view.getResources().getColor(R.color.widgettext_shadow_night) : Color.WHITE;
|
||||
int boxTop;
|
||||
int boxTopStack;
|
||||
int boxTopR;
|
||||
|
|
Loading…
Reference in a new issue