From 17370c4c144437e3b973622fa1894204b4b12116 Mon Sep 17 00:00:00 2001 From: Alex Date: Fri, 13 Oct 2017 13:14:34 +0300 Subject: [PATCH] Fix adjustment of map --- OsmAnd/src/net/osmand/plus/mapmarkers/PlanRouteFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/mapmarkers/PlanRouteFragment.java b/OsmAnd/src/net/osmand/plus/mapmarkers/PlanRouteFragment.java index c41b527e5d..e1f2ba797e 100644 --- a/OsmAnd/src/net/osmand/plus/mapmarkers/PlanRouteFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapmarkers/PlanRouteFragment.java @@ -825,7 +825,7 @@ public class PlanRouteFragment extends Fragment implements OsmAndLocationListene int tileBoxHeightPx = 0; if (portrait) { - tileBoxHeightPx = 3 * (tb.getPixHeight() - mainView.getHeight() - toolbarHeight) / 4; + tileBoxHeightPx = 3 * (tb.getPixHeight() - toolbarHeight) / 4; } else { tileBoxWidthPx = tb.getPixWidth() - mapActivity.getResources().getDimensionPixelSize(R.dimen.dashboard_land_width); }