forked from enlightenment/efl
efl_ui_text: avoid infinite loop when long pressing
Long pressing on efl_ui_text gave inifinte loop. So, I removed event_call in the event callback function. I think long press functionality is almost broken after applying clickable_util. There is no way to remove long press timer based on the action on efl_ui_text. Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D9274
This commit is contained in:
parent
d512ff68ae
commit
3798356819
|
@ -1427,7 +1427,6 @@ _long_press_cb(void *data, const Efl_Event *ev EINA_UNUSED)
|
|||
sd->long_pressed = EINA_TRUE;
|
||||
|
||||
sd->longpress_timer = NULL;
|
||||
efl_event_callback_call(data, EFL_UI_EVENT_LONGPRESSED, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in New Issue