Moved distance ruler to correct position

This commit is contained in:
Alex Zolotarev 2013-12-06 15:46:24 +03:00 committed by Alex Zolotarev
parent f12f598c20
commit c30ab71c94

View file

@ -158,8 +158,8 @@ void InformationDisplay::setDisplayRect(m2::RectI const & rect)
{
m_displayRect = rect;
m2::PointD pt(m2::PointD(m_displayRect.maxX() - 5 * m_visualScale,
m_displayRect.maxY() - 4 * m_visualScale));
m2::PointD pt(m2::PointD(m_displayRect.maxX() - 30 * m_visualScale,
m_displayRect.maxY() - 10 * m_visualScale));
m_ruler->setPivot(pt);