Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@gmail.com>2016-06-10 17:15:06 +0300
committerIlya Grechuhin <i.grechuhin@gmail.com>2016-06-10 17:15:06 +0300
commit3f7cb517dd213369306ebeb51b28891c05a2480c (patch)
treebb3af813528a8745aef28ff7faa9f82a751561dc /iphone/Maps/Classes
parent3816ec17593479477b8e0f20df5b2173db92dc8f (diff)
[ios] Fixed search on map dimming bug on open menu.
Diffstat (limited to 'iphone/Maps/Classes')
-rw-r--r--iphone/Maps/Classes/CustomViews/MapViewControls/BottomMenu/MWMBottomMenuViewController.mm3
1 files changed, 2 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/BottomMenu/MWMBottomMenuViewController.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/BottomMenu/MWMBottomMenuViewController.mm
index 9739797a2e..aba5f017fd 100644
--- a/iphone/Maps/Classes/CustomViews/MapViewControls/BottomMenu/MWMBottomMenuViewController.mm
+++ b/iphone/Maps/Classes/CustomViews/MapViewControls/BottomMenu/MWMBottomMenuViewController.mm
@@ -467,8 +467,9 @@ typedef NS_ENUM(NSUInteger, MWMBottomMenuViewCell)
- (void)setState:(MWMBottomMenuState)state
{
- [self toggleDimBackgroundVisible:state == MWMBottomMenuStateActive];
MWMBottomMenuView * view = (MWMBottomMenuView *)self.view;
+ [self.controller.view bringSubviewToFront:view];
+ [self toggleDimBackgroundVisible:state == MWMBottomMenuStateActive];
if (view.state == MWMBottomMenuStateCompact &&
(state == MWMBottomMenuStatePlanning || state == MWMBottomMenuStateGo ||
state == MWMBottomMenuStateText))