From: Jae Hwan Kim <jae.hwan.kim@samsung.com>
authorraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 10 Mar 2011 10:25:30 +0000 (10:25 +0000)
committerraster <raster@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Thu, 10 Mar 2011 10:25:30 +0000 (10:25 +0000)
commit641560d897125a92be4346a11cbb598b6816513a
treeedbda5f421f4e3ed65ac7ca56afbd2659efe9efb
parent7d4412888e06f00aada595497728b0ee6e409050
From: Jae Hwan Kim <jae.hwan.kim@samsung.com>
Subject: [E-devel]  [Patch] elm_smart_scroller_child_region_show_internal

In the els_scroller of the elementary, the function
"elm_smart_scroller_child_region_show_internal"
have a problem. If the parameters "x,y,w,h" have the wrong value like
"elm_scroller_region_show(scroller,
-300, -300, 900, 900);", the scroller move the position temporarily.
The scroller seem to jump.
So if the value of the parameter is not valid, it should be changed to
valid value.
The work is applied already in the function
"elm_smart_scroller_region_bring_in".
It should be applied in the function
"elm_smart_scroller_child_region_show_internal" too.
I changed the code like bring_in function.

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