raster pushed a commit to branch master. http://git.enlightenment.org/core/enlightenment.git/commit/?id=8d2559463d50932343b86b6c83e1d6ae851cc7c4
commit 8d2559463d50932343b86b6c83e1d6ae851cc7c4 Author: Carsten Haitzler (Rasterman) <[email protected]> Date: Thu Dec 3 14:24:05 2020 +0000 layout - properly handle raise/lower with next/prev in list check fixes pager layout sstacking problems i've noticed. @fix --- src/bin/e_layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/e_layout.c b/src/bin/e_layout.c index e742c48eb..5a193d288 100644 --- a/src/bin/e_layout.c +++ b/src/bin/e_layout.c @@ -212,7 +212,7 @@ e_layout_child_lower(Evas_Object *obj) li = evas_object_data_get(obj, "e_layout_data"); if (!li) return; - if ((!li->sd->items) || (!EINA_INLIST_GET(li)->next)) return; + if ((!li->sd->items) || (!EINA_INLIST_GET(li)->prev)) return; li->sd->items = eina_inlist_promote(li->sd->items, EINA_INLIST_GET(li)); evas_object_lower(obj); } @@ -224,7 +224,7 @@ e_layout_child_raise(Evas_Object *obj) li = evas_object_data_get(obj, "e_layout_data"); if (!li) return; - if ((!li->sd->items) || (!EINA_INLIST_GET(li)->prev)) return; + if ((!li->sd->items) || (!EINA_INLIST_GET(li)->next)) return; li->sd->items = eina_inlist_demote(li->sd->items, EINA_INLIST_GET(li)); evas_object_raise(obj); } --
