Efl.Ui.Spotlight: Fix indicator initialization

This caused incorrectly-centered indicator icons in the homescreen example.
This commit is contained in:
Xavi Artigas 2020-02-20 09:59:29 +01:00
parent 7da106ec68
commit c5dc774fc5
1 changed files with 1 additions and 1 deletions

View File

@ -96,8 +96,8 @@ _efl_ui_spotlight_icon_indicator_efl_ui_spotlight_indicator_bind(Eo *obj, Efl_Ui
if (spotlight)
{
pd->container = spotlight;
efl_event_callback_array_add(pd->container, spotlight_resized(), pd->layout);
pd->layout = efl_add(EFL_CANVAS_LAYOUT_CLASS, pd->container);
efl_event_callback_array_add(pd->container, spotlight_resized(), pd->layout);
if (elm_widget_theme_object_set(pd->container, pd->layout,
"spotlight",