forked from organicmaps/organicmaps
[ios] Fix menu appear while on search screen.
This commit is contained in:
parent
cf600dfd9b
commit
a1277c2c8d
2 changed files with 3 additions and 2 deletions
|
@ -49,7 +49,8 @@
|
|||
case MWMMapViewControlsButtonZoom:
|
||||
[self.zoomButtons moveToDefaultPosition:defaultPosition];
|
||||
break;
|
||||
default:
|
||||
case MWMMapViewControlsButtonMenu:
|
||||
case MWMMapViewControlsButtonLocation:
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -259,7 +259,7 @@ extern NSString * const kAlohalyticsTapEventKey = @"$onClick";
|
|||
|
||||
Framework & f = GetFramework();
|
||||
UserMark const * userMark = f.GetUserMark(pxClicked, isLongClick);
|
||||
if (f.HasActiveUserMark() == false)
|
||||
if (f.HasActiveUserMark() == false && self.searchView.state == SearchViewStateHidden)
|
||||
{
|
||||
if (userMark == nullptr)
|
||||
self.controlsManager.hidden = !self.controlsManager.hidden;
|
||||
|
|
Loading…
Add table
Reference in a new issue