From 939d8ef4c3c48120046560814db63858175a2d12 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Fri, 11 Sep 2015 23:24:51 +0900 Subject: elm - thumbscroll finger scrolling - make it far smoother smooth out scrolling and simplifyconfig as well as expose config apis to configure it all and elm config ui sliders and checkboxes for related config values etc. etc. - with this it is much smoother if you use the default values, though latency is a bit worse. it looks nicer though. @feature --- config/default/base.src.in | 9 +++------ config/mobile/base.src.in | 5 +---- config/standard/base.src.in | 9 +++------ 3 files changed, 7 insertions(+), 16 deletions(-) (limited to 'config') diff --git a/config/default/base.src.in b/config/default/base.src.in index 83cff053f..5b01b5e87 100644 --- a/config/default/base.src.in +++ b/config/default/base.src.in @@ -20,12 +20,9 @@ group "Elm_Config" struct { value "zoom_friction" double: 0.5; value "thumbscroll_border_friction" double: 0.5; value "thumbscroll_sensitivity_friction" double: 0.25; - value "scroll_smooth_start_enable" uchar: 0; - value "scroll_smooth_time_interval" double: 0.0; - value "scroll_smooth_amount" double: 0.0; - value "scroll_smooth_history_weight" double: 0.1; - value "scroll_smooth_future_time" double: 0.0; - value "scroll_smooth_time_window" double: 0.01; + value "scroll_smooth_start_enable" uchar: 1; + value "scroll_smooth_amount" double: 1.0; + value "scroll_smooth_time_window" double: 0.15; value "focus_autoscroll_mode" uchar: 0; value "slider_indicator_visible_mode" int: 0; value "scale" double: 1.0; diff --git a/config/mobile/base.src.in b/config/mobile/base.src.in index 8be5652e8..6219c1120 100644 --- a/config/mobile/base.src.in +++ b/config/mobile/base.src.in @@ -21,11 +21,8 @@ group "Elm_Config" struct { value "thumbscroll_border_friction" double: 0.5; value "thumbscroll_sensitivity_friction" double: 0.7; value "scroll_smooth_start_enable" uchar: 1; - value "scroll_smooth_time_interval" double: 0; value "scroll_smooth_amount" double: 1.0; - value "scroll_smooth_history_weight" double: 0.1; - value "scroll_smooth_future_time" double: 0.0; - value "scroll_smooth_time_window" double: 0.01; + value "scroll_smooth_time_window" double: 0.15; value "focus_autoscroll_mode" uchar: 0; value "slider_indicator_visible_mode" int: 0; value "scale" double: 1.0; diff --git a/config/standard/base.src.in b/config/standard/base.src.in index 1b1cb849f..b5f1b7a78 100644 --- a/config/standard/base.src.in +++ b/config/standard/base.src.in @@ -20,12 +20,9 @@ group "Elm_Config" struct { value "zoom_friction" double: 0.5; value "thumbscroll_border_friction" double: 0.5; value "thumbscroll_sensitivity_friction" double: 0.25; - value "scroll_smooth_start_enable" uchar: 0; - value "scroll_smooth_time_interval" double: 0.0; - value "scroll_smooth_amount" double: 0.0; - value "scroll_smooth_history_weight" double: 0.1; - value "scroll_smooth_future_time" double: 0.0; - value "scroll_smooth_time_window" double: 0.01; + value "scroll_smooth_start_enable" uchar: 1; + value "scroll_smooth_amount" double: 1.0; + value "scroll_smooth_time_window" double: 0.15; value "focus_autoscroll_mode" uchar: 0; value "slider_indicator_visible_mode" int: 0; value "scale" double: 1.0; -- cgit v1.2.1