From: EverLEEst(SangHyeon Lee) Date: Wed, 26 Oct 2022 10:02:49 +0000 (+0900) Subject: genlist : fix wrong geometry check in item focus X-Git-Tag: accepted/tizen/unified/20221102.020528~5 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F25%2F283425%2F2;p=platform%2Fupstream%2Fefl.git genlist : fix wrong geometry check in item focus Change-Id: I55fb9e0f9934f802b03539889044db88d9541f99 --- diff --git a/src/lib/elementary_tizen/elm_genlist.c b/src/lib/elementary_tizen/elm_genlist.c index a61de9e..f8e8378 100644 --- a/src/lib/elementary_tizen/elm_genlist.c +++ b/src/lib/elementary_tizen/elm_genlist.c @@ -3758,7 +3758,7 @@ static void _item_focused(Elm_Gen_Item *it, Elm_Genlist_Item_Scrollto_Type type) evas_object_geometry_get(VIEW(it), &x, &y, &w, &h); evas_object_geometry_get(sd->obj, &sx, &sy, &sw, &sh); - if ((x <= sx) || (y <= sy) || ((x + w) >= (sx + sw)) || ((y + h) >= (sy + sh))) + if ((y <= sy) || ((y + h) >= (sy + sh))) { //TIZEN_ONLY(20191217): Item selection support for non aligned items if ((it != sd->selecting_item) && !sd->on_focus_defer)