Review fixes

This commit is contained in:
r.kuznetsov 2015-10-16 11:03:01 +03:00
parent bb14866df0
commit 05a62d00f7

View file

@ -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