projects
/
platform
/
upstream
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4441598
)
gengrid: fix gengrid item's x, y index updating logic.
37/115537/1
author
Hosang Kim
<hosang12.kim@samsung.com>
Mon, 20 Feb 2017 08:21:19 +0000
(17:21 +0900)
committer
Hosang Kim
<hosang12.kim@samsung.com>
Mon, 20 Feb 2017 08:21:19 +0000
(17:21 +0900)
when mirroring is enabled, gengrid's x, y index is updated by wrong
value.
Change-Id: I754f675e22e0e81098a27cd6386b14b6b4db0aae
src/lib/elm_gengrid.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_gengrid.c
b/src/lib/elm_gengrid.c
index b54ec70cbd6c95c3900b0d3b5c076e5674d05e8b..6f1cd25e172c0476d51f14f84a5aea09b7c8386d 100644
(file)
--- 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)