Assert on tap fixed.

This commit is contained in:
Daria Volvenkova 2016-06-09 19:12:46 +03:00
parent 2ac8539d73
commit c8285a867a

View file

@ -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;
}