forked from enlightenment/efl
popup: hides the popup when hide effect is finished
Summary: When popup hides and shows fast, sometimes popup is not shown because of the difference visible value between popup and notify (case: popup visible state: 1, popup_notify visible state: 0) To sync this value I added the visible set code in elc_popup.c @fix Test Plan: 1. run elementary_text -to popup 2. shows the hide popup 3. hides popup using the hide button 4. repeat 2,3 step 5. popup will be shown well Reviewers: jpeg, cedric, Hermet, raster Subscribers: Blackmole, woohyun Differential Revision: https://phab.enlightenment.org/D4710
This commit is contained in:
parent
f654714d75
commit
425a04beb3
|
@ -119,6 +119,7 @@ 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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue