Fix possibility to select marker when favorites hidden
This commit is contained in:
parent
4543e45bad
commit
e5822cdf8e
1 changed files with 2 additions and 1 deletions
|
@ -546,7 +546,8 @@ public class MapMarkersLayer extends OsmandMapLayer implements IContextMenuProvi
|
|||
if (!unknownLocation && selectMarkerOnSingleTap) {
|
||||
o.add(marker);
|
||||
} else {
|
||||
if (isMarkerOnFavorite(marker) || isMarkerOnWaypoint(marker)) {
|
||||
if (isMarkerOnFavorite(marker) && app.getSettings().SHOW_FAVORITES.get()
|
||||
|| isMarkerOnWaypoint(marker) && app.getSettings().SHOW_WPT.get()) {
|
||||
continue;
|
||||
}
|
||||
Amenity mapObj = getMapObjectByMarker(marker);
|
||||
|
|
Loading…
Reference in a new issue