From 8e15c52de803f797eb874a4c1ff344efc7f94f47 Mon Sep 17 00:00:00 2001 From: Alex Zolotarev Date: Wed, 6 Aug 2014 20:11:30 +0300 Subject: [PATCH] =?UTF-8?q?Moved=20=E2=80=9CScale=E2=80=9D=20debug=20text?= =?UTF-8?q?=20lower=20to=20see=20it=20on=20iPhone?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- map/information_display.cpp | 8 ++++---- 1 file 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); }