[gtk+/touchscreens: 67/69] gtk, scrolledwindow: set slower inverse acceleration on the overshoot area
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/touchscreens: 67/69] gtk, scrolledwindow: set slower inverse acceleration on the overshoot area
- Date: Thu, 5 Jan 2012 11:45:28 +0000 (UTC)
commit fd941bd764cee9bded1cff369da18fbbcaf1a67a
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Dec 23 17:18:08 2011 +0100
gtk,scrolledwindow: set slower inverse acceleration on the overshoot area
This is so snapping back is more fluid and noticeable.
gtk/gtkscrolledwindow.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index 8378e2d..87ac1c2 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -129,7 +129,7 @@
#define FRAME_INTERVAL (1000 / 60)
#define MAX_OVERSHOOT_DISTANCE 50
#define FRICTION_DECELERATION 0.003
-#define OVERSHOOT_INVERSE_ACCELERATION 0.012
+#define OVERSHOOT_INVERSE_ACCELERATION 0.003
struct _GtkScrolledWindowPrivate
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]