forked from organicmaps/organicmaps
Correctly take into an account 3D pixel coordinates, missing after refactoring+rebase.
This commit is contained in:
parent
ee56cf7f3d
commit
f78afa65d4
1 changed files with 1 additions and 1 deletions
|
@ -1916,7 +1916,7 @@ UserMark const * Framework::OnTapEventImpl(m2::PointD pxPoint, bool isLong, bool
|
|||
}
|
||||
else if (isLong)
|
||||
{
|
||||
mercatorPivot = m_currentModelView.PtoG(pxPoint);
|
||||
mercatorPivot = m_currentModelView.PtoG(pxPoint2d);
|
||||
// TODO(AlexZ): Should we change mercatorPivot to found feature's center?
|
||||
feature = GetFeatureAtMercatorPoint(mercatorPivot);
|
||||
needMark = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue