forked from organicmaps/organicmaps
[android] Correct last tap reset.
This commit is contained in:
parent
b6211a050a
commit
ddb15b9059
2 changed files with 1 additions and 6 deletions
|
@ -349,7 +349,6 @@ bool Framework::ShowMapForURL(string const & url)
|
|||
|
||||
void Framework::DeactivatePopup()
|
||||
{
|
||||
m_work.ResetLastTapEvent();
|
||||
m_work.DeactivateUserMark();
|
||||
}
|
||||
|
||||
|
|
|
@ -1866,6 +1866,7 @@ void Framework::ActivateUserMark(UserMark const * mark, bool needAnim)
|
|||
|
||||
void Framework::DeactivateUserMark()
|
||||
{
|
||||
m_lastTapEvent.reset();
|
||||
CallDrapeFunction(bind(&df::DrapeEngine::DeselectObject, _1));
|
||||
}
|
||||
|
||||
|
@ -1911,11 +1912,6 @@ void Framework::OnTapEvent(m2::PointD pxPoint, bool isLong, bool isMyPosition, F
|
|||
ActivateUserMark(mark, true);
|
||||
}
|
||||
|
||||
void Framework::ResetLastTapEvent()
|
||||
{
|
||||
m_lastTapEvent.reset();
|
||||
}
|
||||
|
||||
void Framework::InvalidateRendering()
|
||||
{
|
||||
if (m_drapeEngine != nullptr)
|
||||
|
|
Loading…
Add table
Reference in a new issue