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:
authorExMix <rahuba.youri@mapswithme.com>2014-06-29 19:36:34 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:19:05 +0300
commitc2825d08d34e41321588f0a112c94e5e72ea5308 (patch)
treee8296c6a9d94c8387c103a48f526e3427f0023b6 /map/user_mark_container.cpp
parent463f78de6cba42382255841f01a93efb9306ed50 (diff)
[core] draw activation circle lower then user marks
Diffstat (limited to 'map/user_mark_container.cpp')
-rw-r--r--map/user_mark_container.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/map/user_mark_container.cpp b/map/user_mark_container.cpp
index 916939af89..e9ed1c7c9b 100644
--- a/map/user_mark_container.cpp
+++ b/map/user_mark_container.cpp
@@ -6,6 +6,7 @@
#include "../graphics/display_list.hpp"
#include "../graphics/screen.hpp"
+#include "../graphics/depth_constants.hpp"
#include "../geometry/transformations.hpp"
@@ -305,7 +306,7 @@ void SelectionContainer::Draw(const PaintOverlayEvent & e, UserMarkDLCache * cac
{
UserMarkDLCache::Key defaultKey(m_container->GetActiveTypeName(),
graphics::EPosCenter,
- m_container->GetDepth());
+ graphics::activePinDepth);
DrawUserMarkByPoint(GetActiveMarkScale(),
m_fm.GetVisualScale(),