forked from enlightenment/efl
elementary: Reduce EO calls by using geometry_set
This patch reduces EO calls by using evas_object_geometry_set rather than calling move & resize.
This commit is contained in:
parent
50ab99b05b
commit
6d29afae4d
|
@ -922,8 +922,7 @@ _elm_naviframe_elm_layout_sizing_eval(Eo *obj, Elm_Naviframe_Data *sd)
|
||||||
evas_object_geometry_get(obj, &x, &y, &w, &h);
|
evas_object_geometry_get(obj, &x, &y, &w, &h);
|
||||||
EINA_INLIST_FOREACH(sd->stack, it)
|
EINA_INLIST_FOREACH(sd->stack, it)
|
||||||
{
|
{
|
||||||
evas_object_move(VIEW(it), x, y);
|
evas_object_geometry_set(VIEW(it), x, y, w, h);
|
||||||
evas_object_resize(VIEW(it), w, h);
|
|
||||||
|
|
||||||
if (it == top)
|
if (it == top)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue