forked from organicmaps/organicmaps-tmp
[ios] Disabled blue arrow clicks and enabled bookmarking on blue circle and blue arrow
This commit is contained in:
parent
cea08956a6
commit
a5967d3132
1 changed files with 6 additions and 5 deletions
|
@ -440,15 +440,16 @@ namespace location
|
|||
|
||||
bool State::roughHitTest(m2::PointD const & pt) const
|
||||
{
|
||||
return hitTest(pt);
|
||||
return false;
|
||||
}
|
||||
|
||||
bool State::hitTest(m2::PointD const & pt) const
|
||||
{
|
||||
if (!m_framework->GetNavigator().DoSupportRotation())
|
||||
return false;
|
||||
double radius = m_arrowHeight * m_controller->GetVisualScale();
|
||||
return m_hasCompass && (pt.SquareLength(pivot()) <= my::sq(radius));
|
||||
// if (!m_framework->GetNavigator().DoSupportRotation())
|
||||
// return false;
|
||||
// double radius = m_arrowHeight * m_controller->GetVisualScale();
|
||||
// return m_hasCompass && (pt.SquareLength(pivot()) <= my::sq(radius));
|
||||
return false;
|
||||
}
|
||||
|
||||
void State::CheckCompassRotation()
|
||||
|
|
Loading…
Add table
Reference in a new issue