Merge pull request #8607 from osmandapp/Fix_zoom_button_context_menu
Fix zoom buttons overlap to context menu when cutout exist
This commit is contained in:
commit
5ef2459416
1 changed files with 1 additions and 1 deletions
|
@ -2101,7 +2101,7 @@ public class MapContextMenuFragment extends BaseOsmAndFragment implements Downlo
|
|||
}
|
||||
|
||||
private int getZoomButtonsY(int y) {
|
||||
return y - zoomButtonsHeight - shadowHeight - zoomPaddingTop;
|
||||
return y - mainView.getTop() - zoomButtonsHeight + zoomPaddingTop;
|
||||
}
|
||||
|
||||
private void doLayoutMenu() {
|
||||
|
|
Loading…
Reference in a new issue