[Title] Reset GestureClient when touchstart result is received.
[Issue#] N_SE-55791
[Problem] The click does not occur when we double tap the button quickly.
[Cause] The first touchend result comes after second touchstart occurs
and the tap (click) state is reset when second touch is started.
[Solution] Do not reset when touch is started and reset GestureClient when touchstart result is received.
Change-Id: I63433900464a46518e8ebb5a02411ae61bd32807
// x |not occured | x || enable | enable
// ------------------------------------------------------------
if (type == WebEvent::TouchStart) {
+ impl->gestureClient->reset();
impl->gestureClient->setGestureEnabled(!wasHandled);
impl->wasHandledTouchStart = wasHandled;
if (type == EWK_TOUCH_START) {
if (eina_list_count(points) == 1) {
- impl->gestureClient->reset();
Ewk_Touch_Point* point = static_cast<Ewk_Touch_Point*>(eina_list_data_get(points));
impl->touchDownPoint.x = point->x;
impl->touchDownPoint.y = point->y;