forked from enlightenment/efl
popup: move "visible_set(FALSE)" before calling dismissed callback
Summary: After hiding animation is finished, "dismissed" callback will be called. It means popup's visible state is FALSE. But if evas_object_show(popup) is called in it's custom dimssed callback function, popup's visible state is TRUE, so evas_object_show is canceled. So visible_set(FALSE) is must done before call dimissed callback. @fix Reviewers: Hermet, herb, jpeg, cedric, singh.amitesh, raster Reviewed By: jpeg Subscribers: woohyun Differential Revision: https://phab.enlightenment.org/D4869
This commit is contained in:
parent
9df3685884
commit
ef2f37cad1
|
@ -118,8 +118,8 @@ _timeout_cb(void *data, const Efl_Event *event EINA_UNUSED)
|
|||
static void
|
||||
_hide_effect_finished_cb(void *data, const Efl_Event *event EINA_UNUSED)
|
||||
{
|
||||
efl_event_callback_legacy_call(data, ELM_POPUP_EVENT_DISMISSED, NULL);
|
||||
efl_gfx_visible_set(data, EINA_FALSE);
|
||||
efl_event_callback_legacy_call(data, ELM_POPUP_EVENT_DISMISSED, NULL);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue