diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-06-10 17:15:06 +0300 |
---|---|---|
committer | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-06-10 17:15:06 +0300 |
commit | 3f7cb517dd213369306ebeb51b28891c05a2480c (patch) | |
tree | bb3af813528a8745aef28ff7faa9f82a751561dc /iphone/Maps/Classes | |
parent | 3816ec17593479477b8e0f20df5b2173db92dc8f (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.mm | 3 |
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)) |