summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorDavide Andreoli <dave@gurumeditation.it>2010-11-05 09:31:51 +0000
committerDavide Andreoli <dave@gurumeditation.it>2010-11-05 09:31:51 +0000
commit97d44f9f4353cbefbdb066f8fd47872d8f2a0745 (patch)
tree5e5ff213ef2039d62e14752195bc6e39a0ed1aa3 /config
parent2eace529c415e00dc0b408225ebf883bc23d58d2 (diff)
Make the scroller more "weighted" (or hard-to-drag) while you drag it
out of bounds, that is when the content is finished. In this way the user note that the content is at the end. All the others finger-scroll implementation (iphone,android) works this way ;) This is configurable by the 'thumbscroll_border_friction' config value, and by the 'ELM_THUMBSCROLL_BORDER_FRICTION' var. 0.0 means: disable the friction 0.5 is the default 1.0 means: maximum friction I have tested this with every scroller in elm_test and seems to work well in all the occurence, if you see somthing strange in some scroller please let me know. DaveMDS SVN revision: 54170
Diffstat (limited to 'config')
-rw-r--r--config/default/base.src1
-rw-r--r--config/illume/base.src1
-rw-r--r--config/standard/base.src1
3 files changed, 3 insertions, 0 deletions
diff --git a/config/default/base.src b/config/default/base.src
index a8c42ac3a..433514bb8 100644
--- a/config/default/base.src
+++ b/config/default/base.src
@@ -10,6 +10,7 @@ group "Elm_Config" struct {
10 value "page_scroll_friction" double: 0.5; 10 value "page_scroll_friction" double: 0.5;
11 value "bring_in_scroll_friction" double: 0.5; 11 value "bring_in_scroll_friction" double: 0.5;
12 value "zoom_friction" double: 0.5; 12 value "zoom_friction" double: 0.5;
13 value "thumbscroll_border_friction" double: 0.5;
13 value "scale" double: 1.0; 14 value "scale" double: 1.0;
14 value "bgpixmap" int: 0; 15 value "bgpixmap" int: 0;
15 value "compositing" int: 1; 16 value "compositing" int: 1;
diff --git a/config/illume/base.src b/config/illume/base.src
index bdeaac277..8b211da03 100644
--- a/config/illume/base.src
+++ b/config/illume/base.src
@@ -10,6 +10,7 @@ group "Elm_Config" struct {
10 value "page_scroll_friction" double: 0.5; 10 value "page_scroll_friction" double: 0.5;
11 value "bring_in_scroll_friction" double: 0.5; 11 value "bring_in_scroll_friction" double: 0.5;
12 value "zoom_friction" double: 0.5; 12 value "zoom_friction" double: 0.5;
13 value "thumbscroll_border_friction" double: 0.5;
13 value "scale" double: 1.0; 14 value "scale" double: 1.0;
14 value "bgpixmap" int: 0; 15 value "bgpixmap" int: 0;
15 value "compositing" int: 1; 16 value "compositing" int: 1;
diff --git a/config/standard/base.src b/config/standard/base.src
index 42abf5a6b..90f7f7fe4 100644
--- a/config/standard/base.src
+++ b/config/standard/base.src
@@ -10,6 +10,7 @@ group "Elm_Config" struct {
10 value "page_scroll_friction" double: 0.5; 10 value "page_scroll_friction" double: 0.5;
11 value "bring_in_scroll_friction" double: 0.5; 11 value "bring_in_scroll_friction" double: 0.5;
12 value "zoom_friction" double: 0.5; 12 value "zoom_friction" double: 0.5;
13 value "thumbscroll_border_friction" double: 0.5;
13 value "scale" double: 1.0; 14 value "scale" double: 1.0;
14 value "bgpixmap" int: 0; 15 value "bgpixmap" int: 0;
15 value "compositing" int: 1; 16 value "compositing" int: 1;