forked from organicmaps/organicmaps
switched off screen rotation when scaling with 2 fingers.
This commit is contained in:
parent
52109d58dc
commit
1e096fec11
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue