forked from organicmaps/organicmaps
[android] Do not handle tap messages on location gui element.
This commit is contained in:
parent
d85ae40c09
commit
a9ed9b79fd
1 changed files with 5 additions and 0 deletions
|
@ -449,8 +449,13 @@ namespace location
|
|||
|
||||
bool State::hitTest(m2::PointD const & pt) const
|
||||
{
|
||||
#ifdef OMIM_OS_ANDROID
|
||||
/// @todo This feature will be implemented in the next update of Android.
|
||||
return false;
|
||||
#else
|
||||
double radius = m_arrowHeight * m_controller->GetVisualScale();
|
||||
return (pt.SquareLength(pivot()) <= my::sq(radius));
|
||||
#endif
|
||||
}
|
||||
|
||||
void State::CheckCompassRotation()
|
||||
|
|
Loading…
Add table
Reference in a new issue