diff options
author | v.mikhaylenko <v.mikhaylenko@corp.mail.ru> | 2015-09-15 19:59:24 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 03:05:58 +0300 |
commit | 934a66afd8e3b8853ccebca330b1373c3d49b067 (patch) | |
tree | 04b692f759cddf1f8401128accc3c39487b88b4d | |
parent | 832dfe63a2a57f9d4f52ae319e0a31234b8cea01 (diff) |
[ios] Fixed next turn panel offset (iPad).
-rw-r--r-- | iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/MWMRouteHelperPanelsDrawer.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/MWMRouteHelperPanelsDrawer.mm b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/MWMRouteHelperPanelsDrawer.mm index feac66041d..cdd3d88492 100644 --- a/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/MWMRouteHelperPanelsDrawer.mm +++ b/iphone/Maps/Classes/CustomViews/NavigationDashboard/Views/MWMRouteHelperPanelsDrawer.mm @@ -95,7 +95,7 @@ static CGFloat const kOffsetBetweenPanels = 8.; - (CGFloat)firstPanelTopOffset { - return self.topView.maxY + (IPAD ? 0. : kOffsetBetweenPanels); + return IPAD ? self.topView.height : self.topView.maxY + kOffsetBetweenPanels; } @end |