forked from enlightenment/efl
parent
06d14ed245
commit
29e61e39cb
|
@ -692,7 +692,6 @@ _mouse_up(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *
|
|||
it->down = 0;
|
||||
if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) it->wd->on_hold = EINA_TRUE;
|
||||
else it->wd->on_hold = EINA_FALSE;
|
||||
it->wd->longpressed = EINA_FALSE;
|
||||
if (it->long_timer)
|
||||
{
|
||||
ecore_timer_del(it->long_timer);
|
||||
|
@ -706,6 +705,7 @@ _mouse_up(void *data, Evas *evas __UNUSED__, Evas_Object *obj __UNUSED__, void *
|
|||
}
|
||||
if (it->wd->on_hold)
|
||||
{
|
||||
it->wd->longpressed = EINA_FALSE;
|
||||
it->wd->on_hold = EINA_FALSE;
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue