[android] Do not handle tap messages on location gui element.

This commit is contained in:
vng 2013-02-18 16:21:50 +03:00 committed by Alex Zolotarev
parent d85ae40c09
commit a9ed9b79fd

View file

@ -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()