forked from enlightenment/efl
Elm Glayer: Added single tap/double click support.
Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com> SVN revision: 63961
This commit is contained in:
parent
c2d58e895a
commit
a6083cb953
|
@ -1327,14 +1327,6 @@ _dbl_click_test(Evas_Object *obj, Pointer_Event *pe,
|
||||||
|
|
||||||
if (st->count_ups == eina_list_count(st->l))
|
if (st->count_ups == eina_list_count(st->l))
|
||||||
{
|
{
|
||||||
/* Abort if we found a single click */
|
|
||||||
if ((taps == 1) && (st->count_ups == 1))
|
|
||||||
{
|
|
||||||
ev_flag = _set_state(gesture, ELM_GESTURE_STATE_ABORT,
|
|
||||||
&st->info, EINA_FALSE);
|
|
||||||
consume_event(wd, event_info, event_type, ev_flag);
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
st->info.n = st->count_ups;
|
st->info.n = st->count_ups;
|
||||||
ev_flag =_set_state(gesture, ELM_GESTURE_STATE_END,
|
ev_flag =_set_state(gesture, ELM_GESTURE_STATE_END,
|
||||||
&st->info, EINA_FALSE);
|
&st->info, EINA_FALSE);
|
||||||
|
|
Loading…
Reference in New Issue