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:
authorAlex Zolotarev <alex@mapswithme.com>2014-08-06 21:11:30 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:23:46 +0300
commit8e15c52de803f797eb874a4c1ff344efc7f94f47 (patch)
treee7770ef118570519fc596a166c0d689e9cccc320 /map/information_display.cpp
parent8185e43a9c9894102b4362a67f0707b7ebaa27c9 (diff)
Moved “Scale” debug text lower to see it on iPhone
Diffstat (limited to 'map/information_display.cpp')
-rw-r--r--map/information_display.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/map/information_display.cpp b/map/information_display.cpp
index 68cc1ddaa9..8e4c88684f 100644
--- a/map/information_display.cpp
+++ b/map/information_display.cpp
@@ -160,13 +160,13 @@ void InformationDisplay::setDisplayRect(m2::RectI const & rect)
{
m_displayRect = rect;
- m2::PointD pt(m2::PointD(m_displayRect.maxX() - RULLER_X_OFFSET * m_visualScale,
- m_displayRect.maxY() - RULLER_Y_OFFSET * m_visualScale));
+ m2::PointD const pt(m2::PointD(m_displayRect.maxX() - RULLER_X_OFFSET * m_visualScale,
+ m_displayRect.maxY() - RULLER_Y_OFFSET * m_visualScale));
m_ruler->setPivot(pt);
- m2::PointD debugLabelPivot(m_displayRect.minX() + 10,
- m_displayRect.minY() + 30 + 5 * m_visualScale);
+ m2::PointD const debugLabelPivot(m_displayRect.minX() + 10,
+ m_displayRect.minY() + 50 + 5 * m_visualScale);
m_debugLabel->setPivot(debugLabelPivot);
}