diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java index 9d8bd58b2d..1665fa21f2 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenuFragment.java @@ -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() {