forked from organicmaps/organicmaps
Assert on tap fixed.
This commit is contained in:
parent
2ac8539d73
commit
c8285a867a
1 changed files with 1 additions and 1 deletions
|
@ -1178,7 +1178,7 @@ void UserEventStream::EndTapDetector(Touch const & touch)
|
|||
void UserEventStream::CancelTapDetector()
|
||||
{
|
||||
TEST_CALL(CANCEL_TAP_DETECTOR);
|
||||
ASSERT(m_state == STATE_TAP_DETECTION || m_state == STATE_WAIT_DOUBLE_TAP, ());
|
||||
ASSERT(m_state == STATE_TAP_DETECTION || m_state == STATE_WAIT_DOUBLE_TAP || m_state == STATE_WAIT_DOUBLE_TAP_HOLD, ());
|
||||
m_state = STATE_EMPTY;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue