diff options
author | Mike Blumenkrantz <zmike@samsung.com> | 2020-04-03 11:38:11 -0400 |
---|---|---|
committer | Mike Blumenkrantz <zmike@samsung.com> | 2020-04-08 12:37:46 -0400 |
commit | 3dd751fdd4226c919c5b28291f5474dde14fb21c (patch) | |
tree | 9641d044fcf7cd649a8a4981e90f39404b8efe26 | |
parent | 1e766c27577ee7a38adc21b2dbbb43dfc381e874 (diff) | |
download | efl-3dd751fdd4226c919c5b28291f5474dde14fb21c.tar.gz |
elm/hoversel: force calc on internal hover object during activate
hoversel can't accurately determine its location until the hover object
has been calculated, so this needs to always happen before the hoversel
is made visible in order to correctly position the hover
fix T8642
Differential Revision: https://phab.enlightenment.org/D11646
-rw-r--r-- | src/lib/elementary/elc_hoversel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/elementary/elc_hoversel.c b/src/lib/elementary/elc_hoversel.c index 71339993bd..c82c1e5139 100644 --- a/src/lib/elementary/elc_hoversel.c +++ b/src/lib/elementary/elc_hoversel.c @@ -512,6 +512,8 @@ _activate(Evas_Object *obj) if (_elm_config->access_mode) _access_widget_item_register(sd); efl_event_callback_legacy_call(obj, ELM_HOVERSEL_EVENT_EXPANDED, NULL); + efl_canvas_group_calculate(sd->hover); + _sizing_eval(obj); evas_object_show(sd->hover); } |