forked from organicmaps/organicmaps
Review fixes
This commit is contained in:
parent
bb14866df0
commit
05a62d00f7
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue