From a9bdcb8f27a8ab84fe3fe2902abe8cff19584291 Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Fri, 10 Jun 2016 17:15:06 +0300 Subject: [PATCH] [ios] Fixed search on map dimming bug on open menu. --- .../MapViewControls/BottomMenu/MWMBottomMenuViewController.mm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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))