projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed27d91
)
- fix scrolling bug that allowed us to scroll even when we shouldnt.
author
codewarrior
<codewarrior>
Sun, 23 Oct 2005 20:45:34 +0000
(20:45 +0000)
committer
codewarrior
<codewarrior@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 23 Oct 2005 20:45:34 +0000
(20:45 +0000)
SVN revision: 17843
src/bin/e_fileman_smart.c
patch
|
blob
|
history
diff --git
a/src/bin/e_fileman_smart.c
b/src/bin/e_fileman_smart.c
index
3e77f97
..
4c12eca
100644
(file)
--- a/
src/bin/e_fileman_smart.c
+++ b/
src/bin/e_fileman_smart.c
@@
-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);