projects
/
framework
/
uifw
/
elementary.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
a876f2c
)
Upstream merge with r75950
author
Tae-Hwan Kim
<the81.kim@samsung.com>
Mon, 3 Sep 2012 11:18:15 +0000
(20:18 +0900)
committer
Tae-Hwan Kim
<the81.kim@samsung.com>
Mon, 3 Sep 2012 11:21:03 +0000
(20:21 +0900)
elm genlist: Fixed wrong reorder animation. Patch by Bluezery
Change-Id: I3076ae283e2a3be79483ccc56b39422367ff4832
src/lib/elm_genlist.c
patch
|
blob
|
history
diff --git
a/src/lib/elm_genlist.c
b/src/lib/elm_genlist.c
index
1b05f5e
..
9cb995e
100644
(file)
--- a/
src/lib/elm_genlist.c
+++ b/
src/lib/elm_genlist.c
@@
-2639,7
+2639,8
@@
_reorder_move_animator_cb(void *data)
else y = dy;
diff = abs(it->item->old_scrl_y - it->item->scrl_y);
- if (diff > it->item->h) y = diff / 2;
+ if (diff < dy) y = diff;
+ else if (diff > it->item->h) y = diff / 2;
if (it->item->old_scrl_y < it->item->scrl_y)
{