From: Jaehwan Kim <jae.hwan.kim@samsung.com>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 20 Jun 2011 07:20:31 +0000 (07:20 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Mon, 20 Jun 2011 07:20:31 +0000 (07:20 +0000)
commit975406b12cf57f8bedfa2e08a422b62ed3d474e7
tree2b50b47dc84ed2cb35332c2c837affb8d760d5a5
parentcd6aa5157fff9c1577fb8aeb4300a3f93a86ed1b
From: Jaehwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel]  [patch] els_scroller simple bug

els_scroller in elementary has a simple bug.

In the function "_smart_scrollto_x", it makes the animator
'sd->scrollto.x.animator', if the animator does not exist. But
"_smart_anim_start" before ecore_animator_add can make 2 animators.
If the function which be called by _smart_anim_start call
"elm_scroller_region_bring_in", "_smart_scrollto_x" be called again and make
the animator. After the function which be called by _smart_snim_start ends,
the next line will make the animtor again. Despite the code checks the
animator, it can make 2 animators. So we have to change the order of the code
like patch file.

git-svn-id: https://svn.enlightenment.org/svn/e/trunk/elementary@60507 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
src/lib/els_scroller.c