fix longpress gesture bug
[framework/osp/web.git] / src / controls / FWebCtrl_GestureState.cpp
index c17df52..93419bd 100755 (executable)
@@ -100,12 +100,12 @@ _TapGestureState::OnLongPressGestureDetected(_TouchLongPressGestureDetector& ges
        pPoint->id = 0;
        pPoint->x = absPoint.x;
        pPoint->y = absPoint.y;
-       pPoint->state = EVAS_TOUCH_POINT_UP;
+       pPoint->state = EVAS_TOUCH_POINT_CANCEL;
 
        Eina_List* pPointList = null;
        pPointList = eina_list_append(pPointList, pPoint);
 
-       ewk_view_feed_touch_event(__pWebCore->GetWebNativeNode(), EWK_TOUCH_END, pPointList, null);
+       ewk_view_feed_touch_event(__pWebCore->GetWebNativeNode(), EWK_TOUCH_CANCEL, pPointList, null);
 
        void* pData = null;
        EINA_LIST_FREE(pPointList, pData)