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:
authorrachytski <siarhei.rachytski@gmail.com>2012-10-11 17:09:33 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:45:21 +0300
commit38bbac73c29aefe8da6bb743e359bcf339c3a409 (patch)
treecb65a5bcfe291471460f4a8d25071ae578d4390c /map/ruler.cpp
parent163e4762cab7868c68fe0e667153ee23ce62b06a (diff)
rendering Ruler above all other OverlayElements.
Diffstat (limited to 'map/ruler.cpp')
-rw-r--r--map/ruler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/map/ruler.cpp b/map/ruler.cpp
index b9fe5e136c..5703d0ec95 100644
--- a/map/ruler.cpp
+++ b/map/ruler.cpp
@@ -290,7 +290,7 @@ void Ruler::draw(yg::gl::OverlayRenderer * s, math::Matrix<double, 3, 3> const &
s->drawPath(
&m_path[0], m_path.size(), 0,
s->skin()->mapPenInfo(yg::PenInfo(yg::Color(0, 0, 0, 0x99), 2 * m_visualScale, 0, 0, 0)),
- depth() - 2);
+ depth());
if (position() & yg::EPosLeft)
s->drawText(m_fontDesc,