- fix scrolling bug that allowed us to scroll even when we shouldnt.

SVN revision: 17843
This commit is contained in:
codewarrior 2005-10-23 20:45:34 +00:00 committed by codewarrior
parent ed27d91821
commit 8b0b8cf21f
1 changed files with 3 additions and 1 deletions

View File

@ -340,7 +340,9 @@ e_fm_scroll_vertical(Evas_Object *object, double percent)
if ((!object) || !(sd = evas_object_smart_data_get(object)))
return;
if(sd->max.h <= sd->h) return;
sd->position = percent;
offsetpx = (percent) * (sd->max.h - sd->h);