This commit is contained in:
max-klaus 2019-10-21 18:34:04 +03:00
parent ba24e53d8a
commit 9520101321

View file

@ -648,7 +648,7 @@ public class MapActivity extends OsmandActionBarActivity implements DownloadEven
}
}
if (mapContextMenu.isVisible() && mapContextMenu.isClosable()) {
if (mapContextMenu.getCurrentMenuState() != MenuState.HEADER_ONLY) {
if (mapContextMenu.getCurrentMenuState() != MenuState.HEADER_ONLY && !isLandscapeLayout()) {
mapContextMenu.openMenuHeaderOnly();
} else {
mapContextMenu.close();