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
path: root/iphone
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2013-06-06 21:29:56 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:57:12 +0300
commit593cb1723b6f9570acaf1a9bf5cd6786176f933d (patch)
tree276f6972135c55420b54bfcdc0959f1eaad87b23 /iphone
parentf61cb071ffef709dbbf4dccb22c45216c5f14d53 (diff)
Factor out and order all GUI-element depth constants in one place.
Diffstat (limited to 'iphone')
-rw-r--r--iphone/Maps/Bookmarks/BalloonView.mm4
1 files changed, 3 insertions, 1 deletions
diff --git a/iphone/Maps/Bookmarks/BalloonView.mm b/iphone/Maps/Bookmarks/BalloonView.mm
index 22b7d6aaa7..afb398cffe 100644
--- a/iphone/Maps/Bookmarks/BalloonView.mm
+++ b/iphone/Maps/Bookmarks/BalloonView.mm
@@ -5,6 +5,8 @@
#include "../../../gui/controller.hpp"
+#include "../../../graphics/depth_constants.hpp"
+
@implementation BalloonView
@@ -32,7 +34,7 @@
// Init balloon.
BookmarkBalloon::Params bp;
bp.m_position = graphics::EPosAbove;
- bp.m_depth = graphics::maxDepth;
+ bp.m_depth = graphics::balloonBaseDepth;
bp.m_pivot = m2::PointD(0, 0);
bp.m_mainText = "Bookmark";
bp.m_framework = &f;