diff --git a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java index 1b2143d488..defbcb878b 100644 --- a/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java +++ b/OsmAnd/src/net/osmand/plus/mapcontextmenu/MapContextMenu.java @@ -609,7 +609,8 @@ public class MapContextMenu extends MenuTitleController implements StateChangedL public void onSingleTapOnMap() { if (menuController == null || !menuController.handleSingleTapOnMap()) { - hide(); + updateMapCenter(null); + close(); if (mapActivity.getMapLayers().getMapQuickActionLayer().isLayerOn()) { mapActivity.getMapLayers().getMapQuickActionLayer().refreshLayer(); } diff --git a/OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java b/OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java index d95ac0bf2d..cabc65f0de 100644 --- a/OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/ContextMenuLayer.java @@ -763,7 +763,8 @@ public class ContextMenuLayer extends OsmandMapLayer { if (movementListener.onTouchEvent(event)) { if (menu.isVisible()) { - menu.hide(); + menu.updateMapCenter(null); + menu.close(); } if (multiSelectionMenu.isVisible()) { multiSelectionMenu.hide();