[gtk+/touchscreens: 67/67] 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/67] gtk, scrolledwindow: set slower inverse acceleration on the overshoot area
- Date: Thu, 29 Dec 2011 00:42:40 +0000 (UTC)
commit d14ea594ef10e438a0dacea2039e82d6d543be7d
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 348420d..4af0d3e 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]