Don't back to location when context menu is visible
This commit is contained in:
parent
4d9e23f3c7
commit
3d2a3e4160
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ public class MapControlsLayer extends OsmandMapLayer {
|
|||
if (OsmAndLocationProvider.isLocationPermissionAvailable(mapActivity)) {
|
||||
if (longClick) {
|
||||
showContextMenuForMyLocation();
|
||||
} else {
|
||||
} else if (!mapActivity.getContextMenu().isVisible()) {
|
||||
mapActivity.getMapViewTrackingUtilities().backToLocationImpl();
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue