Bugfixes (Ruler is not shown in landscape mode during route preparation) #6454 - fixed

This commit is contained in:
madwasp79 2019-01-21 10:35:53 +02:00
parent 6f6cccf3b5
commit be33d0cfc8

View file

@ -1180,8 +1180,6 @@ public class RouteInfoWidgetsFactory {
// update cache
if (view.isZooming()) {
visible = false;
} else if (!orientationPortrait && ma.getRoutingHelper().isRoutePlanningMode()) {
visible = false;
} else if (!tb.isZoomAnimated() && (tb.getZoom() != cacheRulerZoom || Math.abs(tb.getCenterTileX() - cacheRulerTileX) > 1 || Math
.abs(tb.getCenterTileY() - cacheRulerTileY) > 1 || mapDensity.get() != cacheMapDensity) &&
tb.getPixWidth() > 0 && maxWidth > 0) {