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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-10-16 11:03:01 +0300
committerr.kuznetsov <r.kuznetsov@corp.mail.ru>2015-11-30 16:19:14 +0300
commit05a62d00f799c9a5d1da85ce4a9b48e822a29770 (patch)
treea049c57ad46a710b646dd7c3020defaa8d3bb9df
parentbb14866df0973f8e6dde0bf5680e6aabb26405f0 (diff)
Review fixes
-rw-r--r--drape_frontend/gui/ruler_helper.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/drape_frontend/gui/ruler_helper.cpp b/drape_frontend/gui/ruler_helper.cpp
index b12022ab1c..c720e4eda2 100644
--- a/drape_frontend/gui/ruler_helper.cpp
+++ b/drape_frontend/gui/ruler_helper.cpp
@@ -155,7 +155,8 @@ bool RulerHelper::IsVisible(ScreenBase const & screen) const
float RulerHelper::GetRulerHalfHeight() const
{
- return 1 * df::VisualParams::Instance().GetVisualScale();
+ float const kRulerHalfHeight = 1.0f;
+ return kRulerHalfHeight * df::VisualParams::Instance().GetVisualScale();
}
float RulerHelper::GetRulerPixelLength() const