Undo unnecessary changes

This commit is contained in:
androiddevkkotlin 2021-01-18 15:57:58 +02:00
parent a2e181ee70
commit eec128c160

View file

@ -324,6 +324,7 @@ public class ContextMenuLayer extends OsmandMapLayer {
}
return false;
}
hideVisibleMenues();
LatLon pointLatLon = tileBox.getLatLonFromPixel(point.x, point.y);
menu.show(pointLatLon, null, null);
@ -804,6 +805,7 @@ public class ContextMenuLayer extends OsmandMapLayer {
return true;
} else if (selectedObjects.size() > 1) {
hideVisibleMenues();
selectedObjectContextMenuProvider = null;
showContextMenuForSelectedObjects(pointLatLon, selectedObjects);
return true;