made ruler looks smaller.

This commit is contained in:
rachytski 2011-11-15 19:56:32 +04:00 committed by Alex Zolotarev
parent f3c52f5f48
commit 26ca372425

View file

@ -202,7 +202,7 @@ void Ruler::update()
{
m2::PointD glbPivot = m_screen.PtoG(pivot());
int rulerHeight = static_cast<int>(14 * m_visualScale);
int rulerHeight = static_cast<int>(7 * m_visualScale);
unsigned minPxWidth = static_cast<unsigned>(m_minPxWidth * m_visualScale);
m2::PointD pt0 = m_screen.PtoG(pivot() - m2::PointD(minPxWidth / 2, 0));