From 7a3c28c12f902d82244e698f0a8abbedb03aae02 Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Sun, 16 Oct 2016 11:34:48 +0200 Subject: [PATCH] Fix bold arrows in navigation layer --- OsmAnd/src/net/osmand/plus/views/OsmandMapLayer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/OsmandMapLayer.java b/OsmAnd/src/net/osmand/plus/views/OsmandMapLayer.java index 866c54ea6d..d4f3fb4239 100644 --- a/OsmAnd/src/net/osmand/plus/views/OsmandMapLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/OsmandMapLayer.java @@ -383,7 +383,7 @@ public abstract class OsmandMapLayer { OsmandRenderer renderer = app.getResourceManager().getRenderer().getRenderer(); RenderingRulesStorage rrs = app.getRendererRegistry().getCurrentSelectedRenderer(); final boolean isNight = settings != null && settings.isNightMode(); - int hsh = calculateHash(rrs, isNight, tileBox.getMapDensity()); + int hsh = calculateHash(rrs, isNight, tileBox.getDensity()); if (hsh != cachedHash) { cachedHash = hsh; if (rrs != null) { @@ -391,7 +391,7 @@ public abstract class OsmandMapLayer { req.setBooleanFilter(rrs.PROPS.R_NIGHT_MODE, isNight); if (req.searchRenderingAttribute(renderingAttribute)) { RenderingContext rc = new OsmandRenderer.RenderingContext(app); - rc.setDensityValue((float) tileBox.getMapDensity()); + rc.setDensityValue((float) tileBox.getDensity()); // cachedColor = req.getIntPropertyValue(rrs.PROPS.R_COLOR); renderer.updatePaint(req, paint, 0, false, rc); isPaint2 = renderer.updatePaint(req, paint2, 1, false, rc);