forked from enlightenment/efl
elm_popup: remove on_show_region_set call
Summary: Its hard to say why removing such calls are fixing a bug like T7274. However, it appears that this call causes the min size calculation of evas to fall apart. This also removes a workarround introduced earlier to fix this. This fixes T7274 Reviewers: zmike Reviewed By: zmike Subscribers: cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7274 Differential Revision: https://phab.enlightenment.org/D8043
This commit is contained in:
parent
8a7cb97e02
commit
f76d04683b
|
@ -503,14 +503,6 @@ _elm_popup_elm_layout_sizing_eval(Eo *obj, Elm_Popup_Data *sd)
|
|||
else
|
||||
evas_object_size_hint_min_set(sd->spacer, minw, minh);
|
||||
|
||||
if (sd->main_layout)
|
||||
{
|
||||
Evas *ev = evas_object_evas_get(sd->main_layout);
|
||||
if (evas_smart_objects_calculating_get(ev))
|
||||
evas_object_smart_calculate(sd->main_layout);
|
||||
else
|
||||
evas_object_smart_need_recalculate_set(sd->main_layout, EINA_TRUE);
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
@ -886,11 +886,6 @@ _focused_element(void *data, const Efl_Event *event)
|
|||
geom.y = geom.y + pan_y - pos.y;
|
||||
|
||||
elm_interface_scrollable_region_bring_in(obj, geom.x, geom.y, geom.w, geom.h);
|
||||
|
||||
geom = efl_gfx_entity_geometry_get(obj);
|
||||
geom.x = geom.y = 0;
|
||||
elm_widget_show_region_set(obj, geom, EINA_TRUE);
|
||||
|
||||
}
|
||||
|
||||
EOLIAN static Eo *
|
||||
|
|
Loading…
Reference in New Issue