switched off screen rotation when scaling with 2 fingers.

This commit is contained in:
rachytski 2011-10-06 13:10:54 +03:00 committed by Alex Zolotarev
parent 52109d58dc
commit 1e096fec11

View file

@ -331,7 +331,7 @@ bool Navigator::ScaleImpl(m2::PointD const & newPt1, m2::PointD const & newPt2,
ScreenBase tmp = m_Screen;
tmp.SetGtoPMatrix(newM);
// tmp.Rotate(-tmp.GetAngle());
tmp.Rotate(-tmp.GetAngle());
if (!skipMaxScaleAndBordersCheck && !CheckMaxScale(tmp))
return false;