[gtk+/multitouch: 67/129] 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+/multitouch: 67/129] gtk, scrolledwindow: set slower inverse acceleration on the overshoot area
- Date: Sat, 18 Feb 2012 17:11:58 +0000 (UTC)
commit 10316b6ab2c75c2ccde2f255e38226085c265e26
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 ff6f9de..7636e8d 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]