Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/r4.9'
Browse files Browse the repository at this point in the history
  • Loading branch information
vshcherb committed Nov 20, 2024
2 parents bb765dd + d03ce8f commit 418a72f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OsmAnd/src/net/osmand/plus/views/OsmandMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ public void fitCurrentRouteToMap(boolean portrait, int leftBottomPaddingPx) {
} else {
tileBoxHeightPx = tb.getPixHeight() - leftBottomPaddingPx;
}
getMapView().fitRectToMap(left, right, top, bottom, tileBoxWidthPx, tileBoxHeightPx, 0);
getMapView().fitRectToMap(left, right, top, bottom, tileBoxWidthPx, tileBoxHeightPx, AndroidUtils.getStatusBarHeight(app));
}
}
}

0 comments on commit 418a72f

Please sign in to comment.