From: Hosang Kim Date: Mon, 20 Feb 2017 08:21:19 +0000 (+0900) Subject: gengrid: fix gengrid item's x, y index updating logic. X-Git-Tag: submit/tizen/20170221.045909^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e656a8f930f7c591c7b35dcfe48e07bbaacb697f;p=platform%2Fupstream%2Felementary.git gengrid: fix gengrid item's x, y index updating logic. when mirroring is enabled, gengrid's x, y index is updated by wrong value. Change-Id: I754f675e22e0e81098a27cd6386b14b6b4db0aae --- diff --git a/src/lib/elm_gengrid.c b/src/lib/elm_gengrid.c index cab055d3c..110f6cd42 100644 --- a/src/lib/elm_gengrid.c +++ b/src/lib/elm_gengrid.c @@ -496,8 +496,6 @@ _item_show_region(void *data) miny = miny + ((cvh - (sd->item_height * row)) * sd->align_y); it_ypos = y * sd->item_height + miny; - it->x = x; - it->y = y; } else if (sd->item_width > 0) { @@ -540,8 +538,6 @@ _item_show_region(void *data) minx = minx + ((cvw - (sd->item_width * col)) * sd->align_x); it_xpos = x * sd->item_width + minx; - it->x = x; - it->y = y; } switch (sd->scroll_to_type)