From: Jaehwan Kim <jae.hwan.kim@samsung.com>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 26 Oct 2011 05:51:59 +0000 (05:51 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 26 Oct 2011 05:51:59 +0000 (05:51 +0000)
commit90d28db6cf5dfe0cc18ca02053d78471494d2ac6
tree23df2d5ceb83b98672a3b28eae9a1841f59f7b86
parent1989b9fa5abc03c489ee536672e1f4f4cf97aef9
From: Jaehwan Kim <jae.hwan.kim@samsung.com>

I found a problem in els_scroller. When the scroller is resized, it shows the location of
the coordination which was saved into wanted_coordination. If you don't use the page,
it is no matter. But if you use the page function, the animation of the scroller is operated
by _smart_scrollto_x_animator, not by _smart_momentum_animator.
In _smart_scrollto_x_animator, therer isn't _update_wanted_coordinates. So the value of
wanted_coordination doesn't update. I think _update_wanted_coordinates have to be added in
_smart_scrollto_x_animator and _smart_scrollto_y_animator.
Please check the attached patch file.

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