| 2109 | } |
| 2110 | |
| 2111 | void FrontendRenderer::OnTouchMapAction(TouchEvent::ETouchType touchType, bool isMapTouch) |
| 2112 | { |
| 2113 | // Here we block timer on start of touch actions. Timer will be unblocked on |
| 2114 | // the completion of touch actions. It helps to prevent the creation of redundant checks. |
| 2115 | auto const blockTimer = (touchType == TouchEvent::TOUCH_DOWN || touchType == TouchEvent::TOUCH_MOVE); |
| 2116 | m_myPositionController->ResetRoutingNotFollowTimer(blockTimer); |
| 2117 | if (isMapTouch) |
| 2118 | m_selectionTrackInfo.reset(); |
| 2119 | } |
| 2120 | |
| 2121 | bool FrontendRenderer::OnNewVisibleViewport(m2::RectD const & oldViewport, m2::RectD const & newViewport, |
| 2122 | bool needOffset, m2::PointD & gOffset) |
no test coverage detected