Fix an issue where TapGesture Events are not being received. 23/277923/2
authorjoogab.yun <joogab.yun@samsung.com>
Fri, 15 Jul 2022 05:01:19 +0000 (14:01 +0900)
committerjoogab.yun <joogab.yun@samsung.com>
Fri, 15 Jul 2022 05:57:04 +0000 (14:57 +0900)
commit6d0fd877a5f4a74b3c1cd776af183381d8f0f041
treeccd5cf778a62765ebe928b28fc6754193d494825
parent617c418ab4ae8f25a2d8fe39af4f1e80dba88d1c
Fix an issue where TapGesture Events are not being received.

If MaximumTapsRequired is greater than 1, TapEvent may not be received when mMaximumAllowedTime is checked in touch-up.

So, move the mMaximumAllowedTime check code to Touchdown.

And in touch-up, the time between previous touch-down and touch-up is checked.

Change-Id: Iec05c9c902fda5c04a8ddde54bec1d887224d5fe
automated-tests/src/dali/utc-Dali-TapGestureRecognizer.cpp
dali/internal/event/events/tap-gesture/tap-gesture-recognizer.cpp
dali/internal/event/events/tap-gesture/tap-gesture-recognizer.h