fixed "floating" location symbol after device orientation change.

This commit is contained in:
rachytski 2011-12-09 13:17:33 +04:00 committed by Alex Zolotarev
parent db337aff59
commit 8c3cf5431e

View file

@ -91,11 +91,11 @@ void Navigator::OnSize(int x0, int y0, int w, int h)
m_Screen.OnSize(x0, y0, w, h);
m_Screen = ShrinkAndScaleInto(m_Screen, m_worldRect);
if (!m_InAction)
{
// if (!m_InAction)
// {
m_StartScreen.OnSize(x0, y0, w, h);
m_StartScreen = ShrinkAndScaleInto(m_StartScreen, m_worldRect);
}
// }
}
bool Navigator::CanShrinkInto(ScreenBase const & screen, m2::RectD const & boundRect)