From 5282d1bf67d5bfff6874a6d65f0c454a73d9b55b Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 1 Feb 2015 17:25:30 +0100 Subject: [PATCH] fix color logic --- OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java index 2d0434f39c..c4c0011733 100644 --- a/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/MapInfoLayer.java @@ -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;