forked from enlightenment/enlightenment
- fix scrolling bug that allowed us to scroll even when we shouldnt.
SVN revision: 17843
This commit is contained in:
parent
ed27d91821
commit
8b0b8cf21f
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue